Home > Back-end >  C fstream classes under the Release compiler error
C fstream classes under the Release compiler error

Time:03-08

C + + fstream classes under the Release compilation error,

An error code is: the ofstream file (" 4. CSV ", the ios: : app);

Compilation can pass under the Debug and Release the comments that can be compiled by somehow have also encountered this problem,


Error:
Error LNK2038 detected "RuntimeLibrary" does not match: "MDd_DynamicDebug" does not match the value "MD_DynamicRelease
"

Error LNK2019 __imp__free_dbg cannot resolve external symbols, the symbol in the function "public: static void __cdecl STD: : _Fac_node: : operator delete (void *)" (?????? 3 _fac_node @ STD @ @ SAXPEAX @ Z) referenced \ MSVCPRTD lib (locale0_implib. Obj) 1

Error LNK2019 __imp__malloc_dbg cannot resolve external symbols, the symbol in the function "public: static void * __cdecl STD: : _Fac_node: : operator new (unsigned __int64)" (?????? 2 _fac_node @ STD @ @ SAPEAX_K @ Z) referenced \ MSVCPRTD lib (locale0_implib. Obj) 1


Two wrong LNK1120 cannot resolve the external command
  • Related