提示如下出错:
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid
解决 方法:
Go to C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cvtres.exe
and check the version of cvtres.exe:
Wrong version:
03/18/2010
01:16 PM
31,048 cvtres.exe
Correct version: 02/21/2011 06:03 PM
31,056 cvtres.exe
If you have wrong version you should go to
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cvtres.exe
and copy cvtres.exe then replace it with
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cvtres.exe
也就是从VC2012上拷贝cvtres.exe文件替换VC2010里面的,就可以解决了。
本文由VS软件圈(vssoft.net)发布,不代表VS软件圈立场,转载联系作者并注明出处:https://vssoft.net/vsazwt/VS2010anzhuangwenti/2020/0724/2306.html