LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
来源:互联网 发布:现货黄金行情软件 编辑:程序博客网 时间:2024/06/06 17:36
使用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
而因不当造成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
0 0
- LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
- LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
- LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
- LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
- LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
- LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or co
- LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or co
- 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
- Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after
- LINK : 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
- LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- 飞行器地面站 C#控件
- Spring Data JPA教程, 第八部分:Adding Functionality to a Repository (未翻译)
- Git使用指南(Git教程)
- 酒香也怕巷子深?
- mkimage工具讲解
- LinkIssue: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
- Bigdcimal 加减法
- 控制物体旋转和缩放代码
- 答辩点点点
- HDU 1518 Square(DFS)
- 基本数据结构概念
- Spring Data JPA Tutorial Part Nine: Conclusions(未翻译)
- 计算机图形学(二)输出图元_14_OpenGL像素阵列函数_3_光栅操作
- 第十三周--交通类纯虚函数