Author Topic: [RESOLVED] debug build with MS Visual Toolkit  (Read 4345 times)

packetvb

  • Guest
[RESOLVED] debug build with MS Visual Toolkit
« 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.

« Last Edit: February 18, 2006, 04:42:56 am by packetvb »

packetvb

  • Guest
Re: debug build with MS Visual Toolkit
« Reply #1 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.