VC类库冲突处理

nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" already defined in LIBCMTD.lib(new.obj)
Debug/captureScreen.exe : fatal error LNK1169: one or more multiply defined symbols found


工程->设置->连接->分类的下拉框选择“输入”,对象/库模块 和 忽略库 都填入:
nafxcwd.lib LIBCMTD.lib

你可能感兴趣的:(VC)