Question : Linking error Debug (Release without linker error) *unresolved external symbol*

Hi experts,
my release build of a Console application works fine.
However in the Debug build, which I would like to use
at the moment to fix a problem won't link due to the
following problems:

libcpd.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)
libcpd.lib(_tolower.obj) : error LNK2001: unresolved external symbol __malloc_dbg
libcpd.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)
Debug/UnixGPF.exe : fatal error LNK1120: 2 unresolved externals

It seems like I need some additional debug files.
Where are they and how can I link them?
Best,
Jens

Answer : Linking error Debug (Release without linker error) *unresolved external symbol*

Try to play with Code Generation project properties:
C/C++ - Code Generation - Runtime Library. Try /MTd or /MDd options.
Random Solutions  
 
programming4us programming4us