Error LNK1123: failure during conversion to COFF: file invalid or corrupt
来源:互联网 发布:中国国际储备数据 编辑:程序博客网 时间:2024/05/21 17:55
在一台新的win7 64位电脑上装了VS2010,每运行一个简单的程序总是报 error LINK1123: failure during conversion to COFF: file invalid or corrupt 的错误。
通过这篇文章发现问题及解决方法:
这个错误是因为采用incremental linking(增量式链接)导致的,可以通过禁止工程中incremental linking的选项避免这个问题。具体操作:
Project(项目)->Properties(属性)->Linker(连接器)->Gerneral(常规)->Enable Incremental Linking(启动增量链接),把 Yes (/INCREMENTAL) 改为 No (/INCREMENTAL:NO) 即可。
上述问题只有在debug版本下才会出现的,是因为release版本会默认关闭增量连接而debug版本默认是启动增量链接的。
incremental linking 是为了节省编译所用时间,加快编译速度。至于为什么会有问题,应该是VS工程的一个BUG。
出处:http://blog.csdn.net/xiaowei_cqu
0 0
- LNK1123: failure during conversion to COFF: file invalid or corrupt ....
- VS2010 error: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- VS2010 error: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- VS2010 error: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after
- VS 2010 - error LNK1123: failure during conversion to COFF: file invalid or corrupt
- LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- 1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- Error LNK1123: failure during conversion to COFF: file invalid or corrupt
- Web Service通过service.xml发布时抛出异常
- Remove Element
- 使用web.xml方式加载Spring时,获取Spring context的两种方式
- VoLTE, SIP/MSRP
- 发布个归档小工具
- Error LNK1123: failure during conversion to COFF: file invalid or corrupt
- Phone状态的监听机制
- 计科1111-1114班第四周讲义、课外作业(截止日期:2014年4月3日23点-周四晚,学委飞信通知同学)
- js获取各种宽高(ie6&ie6+,firefox,chrome兼容完整版)
- linear regression几个代码
- 夏同学第一篇文章
- mysql字符集查询与设置详解
- php伪造http头实现破解防盗链
- MFC如何使控件大小随着对话框大小自动调整