VS2012安装后 VS2010出现fatal error LNK1123: failure during conversion to COFF
来源:互联网 发布:learnx for mac 编辑:程序博客网 时间:2024/05/03 21:49
转自点击打开链接
最近安装了VS2012,但是为了与其它人更新方便,有时候不得不使用VS2010,当再编译VS2010程序时,出现问题:
fatal error LNK1123: failure during conversion to COFF。
找到了两个资料,整理了一下。下面是MSDN上发现的。意思应该就是cvtres.exe需要更新到sp1。
在CSDN上又发现了这个朋友发的资源:
链接:http://download.csdn.net/download/delbboy/4534577
方法:把上面CSDN上的下载下来后,替换到安装10相应的目录下即可。我的在D:\Program Files\Microsoft Visual Studio 10.0\VC\bin。
转自点击打开链接
最近安装了VS2012,但是为了与其它人更新方便,有时候不得不使用VS2010,当再编译VS2010程序时,出现问题:
fatal error LNK1123: failure during conversion to COFF。
找到了两个资料,整理了一下。下面是MSDN上发现的。意思应该就是cvtres.exe需要更新到sp1。
在CSDN上又发现了这个朋友发的资源:
链接:http://download.csdn.net/download/delbboy/4534577
方法:把上面CSDN上的下载下来后,替换到安装10相应的目录下即可。我的在D:\Program Files\Microsoft Visual Studio 10.0\VC\bin。
安装VS2012后遇到的问题
转自点击打开链接
悲剧的种子是在上个月初种下的。。。9月份微软发布了Visual Studio2012(发布会),我是个对各种“新版本”极有偏好的人,一看到新闻就立刻下载了VS2012 Pro版,花了几个小时安在原本装有VS08,VS10版本的电脑上。装下来之后体验还是挺不错的,启动速度感觉比10快了许多,而且代码的智能提示也很给力,不需要Visual Assist 之类的插件就能高亮代码,支持第三方库提示。而且有很强大的代码比较和代码图形化功能(参见:VS2012初体验)
不过一大问题就是,之前VS2010的工程都无法正常编译了!!!会报错:
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
unhandled excpetion at 0x1012B7EF opencv_imgproc242d
为什么安装VS2012之后,VS2010的工程会出现问题?
社区里不少人遇到这个问题,这个是个比较全的帖子:
Uninstall Visual Studio 11 completely to do a fresh install
简单说就是VS2012里用的.net 4.5(Compatibility of .NET Framework 4.5),安装12之后会默认覆盖掉原来VS2010里用的.net 4.0。VS2010是不支持4.0的,你可以直接下载一个Visual Studio 2010 SP1升级包(VS10sp1-KB983509.exe),这样也把10跑起来。但这样你要保证程序发布时打入.net4.5的包,而且,.net4.5是不支持XP的!!
上面那个帖子里(Uninstall Visual Studio 11 completely to do a fresh install),提问的童鞋和我一样决定放弃12,重用10,用了最暴力的方法解决问题:
卸载12;卸载10;重装10。
注意:单纯卸载12是不能解决问题的,因为卸载12会同时卸载掉.net 4.5,但之前.net 4.0被替换更新的部分也卸掉了。只卸载12重新运行工程还会用新的错误:
error MSB6006: "link.exe" exited with code 1123.
下面是我的解决过程~
1、在控制面板里卸载VS2012
2、卸载.net 4.5
3、安装 Microsoft .NET Framework 4 和 .NET 4.0 SDK
转载请注明出处:http://blog.csdn.net/xiaowei_cqu/article/details/8058661
- VS2012安装后 VS2010出现fatal error LNK1123: failure during conversion to COFF
- VS2012安装后 VS2010出现fatal error LNK1123: failure during conversion to COFF
- VS2012安装后 VS2010出现fatal error LNK1123: failure during conversion to COFF
- VS2012安装后 VS2010出现fatal error LNK1123: failure during conversion to COFF
- 解决VS2012安装后 VS2010出现fatal error LNK1123: failure during conversion to COFF
- VS2012安装后 VS2010出现fatal error LNK1123: failure during conversion to COFF
- 安装vs2012后vs2010 LINK : fatal error LNK1123: failure during conversion to COFF
- VS2012安装后 VS2010出现fatalerror LNK1123: failure during conversion to COFF
- VS2012——LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF...
- 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
- 错误-VS2010 error: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or c
- LINK fatal error LNK1123 failure during conversion to COFF 解决办法
- fatal error LNK1123: failure during conversion to COFF
- VS2010报错无法编译:LINK : fatal error LNK1123: failure during conversion to COFF: file invalid
- VS2010报错: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
- 一组不重复的随机数的产生方式
- 【COCOS2DX-游戏开发之七】添加启动数字输入法的功能
- 三个事和三个问题
- 我的编程之路(一) 兴趣是可以培养的
- 新的研究方向
- VS2012安装后 VS2010出现fatal error LNK1123: failure during conversion to COFF
- 命令生成jar包
- 解决chrome卡死
- Mac分辨率更改(虚拟机VMWare环境)
- 面向对象编程中遇到的问题1
- 使用2to3将代码移植到Python 3
- 公司运作 - 利润率、周转率
- spring propertyplaceholderconfigurer的使用
- CF 319C(Kalila and Dimna in the Logging Industry-斜率DP,注意叉积LL溢出)