1、错误现象:(VC++)

     LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
     Debug/newres.dll : fatal error LNK1120: 1 unresolved externals
     Error executing link.exe.

     解决方法:

     在Setting->Link->Project Options中加入  /noentry,则可以编译通过

     在VS2010(VC++)中是设置项目属性Configuration Properties-Linker-Advanced 的 No Entry Point

     为 yes(/NOENTRY)

 

相关文章:

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