VS2010 environment compilation encountered a fatal error lnk1123: failure during conversion to coff: invalid or corrupt file, fatal error lnk1123: failure during conversion to coff.
Here are some solutions:
Option 1:
Click “project” – & gt; “Properties” – & gt; “Inventory tool”,
Then select “input and output” – & gt; “embedded list”, and change the following “yes” to “no”
Option 2:
Search the vs installation directory for cvtres.exe
Two cvtres.exe files were found, including
Some netizens chose to overwrite all the old cvtres.exe with the latest file, and some netizens deleted the old cvtres.exe file
Change the name for the recovery environment. Note that the two files have the same version number, but the generation time is only 1 hour. Select the latest one. There are also many cvtres.exe searches
I don’t know. Try how to delete these files. My two file directories are as follows:
D:\ProgramFiles (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64
D:\Program Files (x86)\Microsoft VisualStudio 10.0\VC\bin
Option 3:
Even if the new VS2010 Sp1 is installed, this method can also solve some of this problem.
What’s more troublesome is that this Sp1 is still relatively large, and all the messy things have to be patched.
= division line of sigh ===========
Related resources: lnk1123: failure during conversion to coff: solution to invalid or corrupt file _lnk1123
Lnk1123: failure during conversion to coff: solution to invalid or corrupt file
original link: https://blog.csdn.net/weixin_39951018/article/details/111739349