User forums > Using Code::Blocks
[RESOLVED] debug build with MS Visual Toolkit
(1/1)
packetvb:
Hello,
Im trying to do a debug build with ms visual toolkit and am getting a link error when compiling code
using "new".
libcpd.lib(xdebug.obj) : error LNK2019: unresolved external symbol __malloc_dbg
Am I missing a linker option here?
Thank you.
packetvb:
Never mind,
Debug needs a debug runtime library selected in Project Build Options->Compiler Flags
selecting single thread debug runtime library fixed the problem.
Thanks though.
Navigation
[0] Message Index
Go to full version