I know this has been asked alot, but I couldn't find the answer in older threads.
Picture this: I have a project written in DGDK that compiles with no problems, but when I #include <string> -(w/o .h)- I get this linker errors:
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol __malloc_dbg referenced in function "void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??2@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z)
1>libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol __free_dbg referenced in function "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const &,char *,int)" (??3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z)
1>.Debug/String Test 01.exe : fatal error LNK1120: 2 unresolved externals
1>Build log was saved at "file://d:Program FilesThe Game CreatorsDark GDK - FREEWARE EditionSamplesVisual Studio 8String Test 01DebugBuildLog.htm"
1>String Test 01 - 3 error(s), 1 warning(s)
I have no idea about it, because I just tried to include it in the project w/o writing a line of code using that library!
Thanks in advance
-Try