Home > Software engineering >  Vc2010 compile under Windows 7, there was a wrong link, what reason be?
Vc2010 compile under Windows 7, there was a wrong link, what reason be?

Time:10-11

Vc2010 compile under Windows 7, there was a link: link fatal error LNK1123: during the transformation to the COFF failure: the text? Is invalid or damaged, what reason be?

CodePudding user response:

Try rebuild the whole project, or new construction, to import the code

CodePudding user response:

Vs2010 programs run link error: fatal error lnk1123: conversion to failure: during the coff file is invalid or damaged
Somehow have to compile a good VS2010 environment, suddenly appear "into failure: during the COFF file is invalid or damaged" link error,
Spent a lot of day, tried many methods, finally solved the problem,
Now list this several solutions:

Plan 1: click on the "project" -- & gt;" Attribute "-- & gt; "Listing tools", and then select the "input and output '- & gt; Embedded list, change of "is" on the back to have to do is' no '

Scheme 2: in VS installation directory search cvtres. Exe found two cvtres. Exe files,
Some Internet users to choose the file with the latest cover off all the old cvtres. Exe, some netizens also is to remove the old cvtres. Exe files,
I am the old cvtres. Exe changed my name, for restoring the environment, pay attention to these two files are a version number,
But the generation time is only one hour difference, choose the latest, also has a search to a lot of cvtres. Exe,
This is not clear, try to delete...

This is due to the log file to
Project list \ \ configuration attribute \ tools \ \ input and output embedded list: turns out to be "yes", to "no",
Or
Project \ \ configuration attribute, the linker, listing documents, generate listing: turns out to be "yes", to "no",

CodePudding user response:

  • Related