error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)"

问题:

编译错误

error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2 at YAPAXI@Z)

 

 

解决方法:

1、Configuration Properties -> Linker -> Input -> Igonre Specific Library 里追加以下两个lib
  Nafxcwd.lib Libcmtd.lib

 

2、Configuration Properties -> Linker -> Command Line -> Addtional Option 从新追加这两个lib

  Nafxcw.lib Libcmt.lib

阅读更多
个人分类: Compile Error
上一篇error c101008a: Failed to save the updated manifest to the file
下一篇ChangeDisplaySettingsEx
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭