虽然不理解为什么这样做,但是的确成功了,试了别的方法都不太行。

程序运行出现报错:

error LNK2005: “void * __cdecl operator new(unsigned int)“ ([email protected]@Z) 已经在 LIBCMT.lib

解决方法:

属性->配置->链接器->输入

附加依赖项和忽略特定默认库都加上:uafxcwd.lib;Libcmtd.lib

error LNK2005: “void * __cdecl operator new(unsigned int)“ ([email protected]@Z) 已经在 LIBCMT.lib

完成。

相关文章:

  • 2021-10-26
  • 2021-06-29
  • 2021-06-25
  • 2022-12-23
  • 2022-03-01
  • 2021-10-02
  • 2022-12-23
  • 2021-12-15
猜你喜欢
  • 2021-09-08
  • 2021-07-14
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2021-04-30
相关资源
相似解决方案