Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: packetvb on February 18, 2006, 03:06:49 am

Title: [RESOLVED] debug build with MS Visual Toolkit
Post by: packetvb on February 18, 2006, 03:06:49 am
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.

Title: Re: debug build with MS Visual Toolkit
Post by: packetvb on February 18, 2006, 04:42:07 am
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.