Error LNK1123: failure during conversion to COFF: file invalid or corrupt

转载 2013年12月02日 14:05:04
October 17, 2012

Yesterday, I encountered an error in Microsoft Visual Studio 2010, when I in a discussion with a friend tried to run the C code example of“hello world” written in my first post on this blog. Visual Studio reported,Error LNK1123: failure during conversion to COFF: file invalid or corrupt. Hmm, what happened just?

 


 

Well, visiting Linker Tools Error LNK1123 at MSDN didn’t provide me with a direct solution to my problem. I went back to the project properties, and found out that in theGeneral settings under the Linker settings, theEnable Incremental Linking was set to Yes (/INCREMENTAL).

 

Enable Incremental Linking simply means that the linker links your *.exe or *.DLL in a smarter way which makes it easier for the linker to update the existing *.exe or *.DLL when you make a small change in the code, and recompile it.

 

However, to fix this problem simply change the Enable Incremental Linking to No (/INCREMENTAL:NO) and click OK.

 

I hope this information solved your C/C++ linker issues in Microsoft Visual Studio.

关于 error: LNK1123: failure during conversion to COFF: file invalid or corrupt 错误的解决方案

重装了VS2010,在编译程序时出现了“error: LNK1123: failure during conversion to COFF: file invalid or corrupt ”这个错误...
  • fengshuiyue
  • fengshuiyue
  • 2015年02月26日 23:20
  • 5554

【error】LINK1123: failure during conversion to COFF: file invalid or corrupt

在一台新的win7 64位电脑上装了VS2010,每运行一个简单的程序总是报 error LINK1123: failure during conversion to COFF: file inval...
  • xiaowei_cqu
  • xiaowei_cqu
  • 2014年01月13日 21:05
  • 48627

LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor

使用VisualStudio 编译链接中可能出现如下错误: LINK : fatal error LNK1123: failure during conversion to COFF: file i...
  • JunjieHe
  • JunjieHe
  • 2013年11月22日 17:31
  • 20839

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

在VS2010中,运行程序出现错误 LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor...
  • liyun123gx
  • liyun123gx
  • 2014年02月28日 11:54
  • 1712

原创血泪教训【error】LINK1123: failure during conversion to COFF: file invalid or corrupt

原创血泪教训【error】LINK1123: failure during conversion to COFF: file invalid or corrupt【error】LINK1123: fa...
  • ishudi
  • ishudi
  • 2016年05月13日 20:05
  • 284

error LNK1123: failure during conversion to COFF的解决方法

昨天Microsoft放出了VS2012的release版本,据说完全支持C++ 11标准,这让C++控的我大为振奋,加上公司的MSDN key可以激活正版VS2012,于是兴冲冲的下载了一个VS20...
  • LinuxTiger
  • LinuxTiger
  • 2012年08月17日 20:08
  • 13056

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

WTL从低版本到高版本转换2个fatal error处理 2009-09-17 10:27 这两个fatal error是因为从低版本的WTL到高版本的WTL转变后产生的. 错误描述如下: 1>正在编...
  • jiayichendddd
  • jiayichendddd
  • 2013年09月23日 03:18
  • 2162

error LNK1123: failure during conversion to COFF: file invalid or corrupt 错误解决

1 详见 http://flcstudio.blog.163.com/blog/static/7560353920127974550743/。用该方法第一次修改...
  • mrlmrlmrl
  • mrlmrlmrl
  • 2014年04月29日 10:45
  • 291

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

提示说明在转换到COFF文件因为错误失败了(VS2010装好了,一般是不会有[file invalid] 错的)。 而完成转换工作的是cvtres.exe这个程序。出现上面错误的根本原因是系统中...
  • duomiannanhai
  • duomiannanhai
  • 2015年02月05日 09:59
  • 238

错误:error LNK1123: failure during conversion to COFF: file invalid or corrupt

C:\Windows\Microsoft.NET\Framework\v4.0.30319\
  • feng1028zd
  • feng1028zd
  • 2014年04月15日 16:41
  • 543
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Error LNK1123: failure during conversion to COFF: file invalid or corrupt
举报原因:
原因补充:

(最多只允许输入30个字)