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

转载 2013年12月02日 14:05:04
地址:http://fisnikhasani.com/error-lnk1123-failure-during-conversion-to-coff-file-invalid-or-corrupt/
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 错误的解决方案

转发别人的博客:http://www.cnblogs.com/lazy-ant/p/3660263.html提示说明在转换到COFF文件因为错误失败了(VS2010装好了,一般是不会有[file in...

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

近日因为换装硬盘重装了系统,于是不得不重新安装VS2010 Qt 这些个开发工具。安装过程都没什么问题,安装完了顺手点了个例子测试下好没好用,于是就出现了标题中的错误提示。之前处理过一次,时间久了就忘...

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

问题描述: 使用VS2010新创建了一个WIN32工程。编译时报错LINK : fatal error LNK1123: failure during conversion to COFF: fil...

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

from:http://blog.csdn.net/junjiehe/article/details/16888197 使用VisualStudio 编译链接中可能出现如下错误: LINK :...

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

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

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

近日因为换装硬盘重装了系统,于是不得不重新安装VS2010 Qt 这些个开发工具。安装过程都没什么问题,安装完了顺手点了个例子测试下好没好用,于是就出现了标题中的错误提示。之前处理过一次,时间久了就忘...

LINK1123:failure during conversion to COFF:file invalid or corrupt

fatal error LINK1123:failure during conversion to COFF:file invalid

关于 error: LNK1123: failure during conversion to COFF 错误的解决方案【Qt】【 VS2010】

转载出处:http://www.cnblogs.com/lazy-ant/p/3660263.html?utm_source=tuicool   正题开始。提示说明在转换到COFF文件因为错误失败...

qt -win COFF: file invalid or corrupt

qt COFF: file invalid or corrupt
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Error LNK1123: failure during conversion to COFF: file invalid or corrupt
举报原因:
原因补充:

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