Mesaje : 338
Data de inscriere : 27/08/2011
Varsta : 22
Localizare : Romania
|Subiect: How to fix error in microsoft visual studio 2010, 2012, 2013, 2015 (fatal error, failure during conversion to COFF) Mar Mar 08, 2016 1:18 am|| |
How can you fix compilation error for the warning: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt, in microsoft visual studio 2010, 2012, 2013, 2015 and above:
Solution 1: Right Click on your project, go to Properties, go to Linker, expand and go to General, and search for Enable Incremental Linking: and put No(/INCREMENTAL:NO), and then click OK button.
Solution 2: Go to you Microsoft Visual Studio main directory\VC\bin
Example: D:\programs\microsoft visual studio 10\VC\bin
and find the file named: cvtres.exe and rename it to something else, like: cvtres-old.exe etc...
and then try to compile you project again, and it should work.