error LNK1123: failure during conversion to COFF: file invalid or corrupt
2014-03-11 10:17
579 查看
使用vs2010编译c++工程时晕倒一个问题:
error LNK1123: failure during conversion to COFF: file invalid or corrupt
一致不知道什么原因,也无法解决。
在同事的机器上竟然都能编译通过,心想肯定是环境问题了。
果然,google了一把(就是比百度要强悍哈),如下是相同问题。
http://stackoverflow.com/questions/12267158/failure-during-conversion-to-coff-file-invalid-or-corrupt
看到人家的答复,我的问题也终于浮出水面。
我的环境是vs2008、vs2010、vs2012(已经卸载)、vs2013,也是.net FrameWork 4.5的环境,应该就是这个问题吧,就像人家回复的一条:
Do you have Visual Studio 2012 installed as well? If so, 2012 stomps your 2010 IDE, possibly because of compatibility issues with .NET 4.5 and .NET 4.0.
重点就是红色背景这个单词了,哈哈・・・・
当然,因为工作原因,我是不能卸载vs2013和.net4.5的。还好,下边又出现一个回复,vs2010 sp1。这就好像是救命稻草一样,虽然耗时,唯有一试方能知晓最终结果。
Had to install VS SP1 in order to get it to work again for myself. Lame microsoft.
哈哈,我在安装了vs2010 sp1之后果然就都能编译通过了。
说到底,微软对自家产品的向下兼容性确实问题多多啊
error LNK1123: failure during conversion to COFF: file invalid or corrupt
一致不知道什么原因,也无法解决。
在同事的机器上竟然都能编译通过,心想肯定是环境问题了。
果然,google了一把(就是比百度要强悍哈),如下是相同问题。
http://stackoverflow.com/questions/12267158/failure-during-conversion-to-coff-file-invalid-or-corrupt
看到人家的答复,我的问题也终于浮出水面。
我的环境是vs2008、vs2010、vs2012(已经卸载)、vs2013,也是.net FrameWork 4.5的环境,应该就是这个问题吧,就像人家回复的一条:
Do you have Visual Studio 2012 installed as well? If so, 2012 stomps your 2010 IDE, possibly because of compatibility issues with .NET 4.5 and .NET 4.0.
重点就是红色背景这个单词了,哈哈・・・・
当然,因为工作原因,我是不能卸载vs2013和.net4.5的。还好,下边又出现一个回复,vs2010 sp1。这就好像是救命稻草一样,虽然耗时,唯有一试方能知晓最终结果。
Had to install VS SP1 in order to get it to work again for myself. Lame microsoft.
哈哈,我在安装了vs2010 sp1之后果然就都能编译通过了。
说到底,微软对自家产品的向下兼容性确实问题多多啊
相关文章推荐
- 错误:error LNK1123: failure during conversion to COFF: file invalid or corrupt
- 关于 error: LNK1123: failure during conversion to COFF: file invalid or corrupt 错误的解决...
- 关于 error: LNK1123: failure during conversion to COFF: file invalid or corrupt 错误的解决
- 关于 error: LNK1123: failure during conversion to COFF: file invalid or corrupt 错误的解决方案
- Qt Creator error: LNK1123: failure during conversion to COFF: file invalid or corrupt
- 关于vs2010 error: LNK1123: failure during conversion to COFF: file invalid or corrupt 错误的解决...
- 关于 error: LNK1123: failure during conversion to COFF: file invalid or corrupt 错误的解决...
- error: LNK1123: failure during conversion to COFF: file invalid or corrupt
- 关于 error: LNK1123: failure during conversion to COFF: file invalid or corrupt 错误的解决方案
- Error LNK1123: failure during conversion to COFF: file invalid or corrupt
- 第一个CUDA项目(LNK1123 failure during conversion to coff file invalid or corrupt)
- LNK1123: failure during conversion to COFF: file invalid or corrupt问题的解决
- LINK1123:failure during conversion to COFF:file invalid or corrupt
- 【error】VS2010 LINK1123: failure during conversion to COFF: file invalid or corrupt
- 【error】LINK1123: 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】LINK1123: failure during conversion to COFF: file invalid or corrupt
- 【error】LINK1123: failure during conversion to COFF: file invalid or corrupt
- Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after
- LINK1123:failure during conversion to COFF:file invalid or corrupt