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 LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)"

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭