|
NEHE SDK 在vs2005 下链接不过,报以下错误:
1>正在链接...
1>LINK : warning LNK4098: 默认库“LIBCMT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
1>libcpmtd.lib(xdebug.obj) : error LNK2019: 无法解析的外部符号 __malloc_dbg,该符号在函数 "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: 无法解析的外部符号 __free_dbg,该符号在函数 "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const &,char *,int)" (??3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z) 中被引用
1>libcpmtd.lib(stdthrow.obj) : error LNK2019: 无法解析的外部符号 __CrtDbgReportW,该符号在函数 "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z) 中被引用
1>.\../../../bin/example3.exe : fatal error LNK1120: 3 个无法解析的外部命令
在vs2003上链接没有问题,请帮满解决一下。 |
|