我正在尝试在Microsoft Visual Studio 2012中编译我的Visual C++项目(使用MFC),结果出现以下错误:
error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj)
error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMTD.lib(dbgdel.obj)
error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in LIBCMTD.lib(delete2.obj)
error LNK1169: one or more multiply defined symbols found
我在谷歌上搜索了一下,找到了这个页面: http://support.microsoft.com/?scid=kb%3Ben-us%3B148652&x=13&y=8 我尝试了解决方案一,但是“忽略库”框不存在,对象/库模块框也是如此。对于忽略库,我找到了忽略特定库,但是跳过第五步只给了我17xx错误。
我在谷歌上搜索了很多,但总是回到同一个页面,我该如何在Visual Studio 2012中解决这个问题?