Error:
nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in libcpmt.lib(newaop.obj)
Solution:
Go to Property -> Linker -> Input -> Additional Dependencies
Add nafxcw.lib
Go to Ignore Specific Default Libraries
Add nafxcw.lib
本文转自博客园Grandyang的博客,原文链接:Solve Error: nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in libcpmt.lib(newaop.obj)
,如需转载请自行联系原博主。