单个文件编译均正确,build时出如下错误:
--------------------Configuration: Oven_Demo - Win32 Debug--------------------
Linking...
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMTD.lib(dbgdel.obj)
Debug/Oven_Demo.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.Oven_Demo.exe - 3 error(s), 0 warning(s)请问是怎么回事,我急用,谢谢了!
--------------------Configuration: Oven_Demo - Win32 Debug--------------------
Linking...
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMTD.lib(dbgdel.obj)
Debug/Oven_Demo.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.Oven_Demo.exe - 3 error(s), 0 warning(s)请问是怎么回事,我急用,谢谢了!
解决方案 »
- 求助,snmp开发中用agent++中的do_process_request处理getbulk,程序崩溃
- 下面的代码连续执行为什么出错
- 已经得到网页中FLASH的IShockwaveFlash接口 怎么得到FLASH窗口句柄?
- 对话框编辑器中没有CCheckListBox控件,怎么办?
- 共享内存的疑问
- 求自定义报表源代码,不要控件的,要做控件的自定义报表源代码 ,谢谢
- 问专家:Xtreme Toolkit 2.00 中文
- 是否能将类的成员函数(非static)用作CALLBACK
- cannot open file "Release/C.exe"
- 如何取出编绎到exe文件中的bmp文件?
- 窗口一变化,窗口中的东东就没有了,求助。
- 谁能讲讲debug和release的区别吗?谢谢
你要解决的话安 vcforever(霓裳羽衣)说的作
就没问题了
.h和.cpp文件在上次未保存进工程中;
资源文件的误删除!