提示如下出错:
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里面的,就可以解决了。