LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
2016-05-24 15:10
375 查看
使用VisualStudio 编译链接中可能出现如下错误:LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt网上有如下解决方法:1. disable incremental linking
2. turning off "Embed Manifest"但是我使用这两种方法均不奏效.Issue root cause: 系统更新或软件升级中,造成有多于一个版本的 Utility: cvtres.exe
使用VisualStudio 编译链接中可能出现如下错误:LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt网上有如下解决方法:1. disable incremental linking
Project Properties -> Configuration Properties -> Linker (General) -> Enable Incremental Linking -> "No (/INCREMENTAL:NO)"
2. turning off "Embed Manifest"但是我使用这两种方法均不奏效.Issue root cause: 系统更新或软件升级中,造成有多于一个版本的 Utility: cvtres.exe
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cvtres.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe[/code]
而因不当造成VS目录下的cvtres.exe不在work.如果该Utinity在路径的前面,linker觉得需要转换一个.res文件为COFF对象格式,link将失败,显示error: LNK1123
方法: 对VS下旧的Utility cvtres.exe删除或者重命名.或者重新安排 PATH 变量.
参考文献:
http://stackoverflow.com/questions/10888391/error-link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-inval
相关文章推荐
- 1017. Queueing at Bank (25)
- finished with non-zero exit value 2
- STL之deque
- KVC中setValuesForKeysWithDictionary:
- request threaded-only IRQs with IRQF_ONESHOT【转】
- Android高级UI GridView
- iOS-OC-UITableViewCell分割线自定义
- aidl.exe'' finished with non-zero exit value 1问题解决【转载】
- UICollectionViewLayout
- aidl.exe'' finished with non-zero exit value 1问题解决
- iOS学习之——UIView的setNeedsDisplay和setNeedsLayout方法
- easyui页面一打开的时候出现短暂混乱的问题,解决办法
- [BS-26] UIView、pop和Core Animation区别
- Quartz 2D的坐标系和UIKit的坐标系对比以及相互转换 ? 赶驴记
- 使用requirejs 调用百度地图解决方案
- IOS9 UIStackView(转)
- AsyncTask - 基本原理 后台线程和UI线程的交互
- SQLMAP自动注入-REQUEST和SQLMAP自动注入(三)-OPTIMIZATION优化
- iOS - Masonry布局下的属性动画实现 ,UIVIew动态旋转
- LeetCode-303.Range Sum Query - Immutable