VS2010 error: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

安装VS2012后结果使用VS2010时, 出现错误 

LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

解决办法也很简单, 如下: 

To summarize:

  • Either disable incremental linking, by going to

    Project Properties 
       -> Configuration Properties 
           -> Linker (General) 
              -> Enable Incremental Linking -> "No (/INCREMENTAL:NO)"
    
  • or install VS2010 SP1.

VS2010 SP1补丁下载地址: http://www.microsoft.com/en-us/download/details.aspx?id=23691


参考: 

http://stackoverflow.com/questions/10888391/link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-invalid-or-c

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