3

I found Target Eye's Unique AutoUpdate mechanism on codeproject autoupdating script.

But I got this error when building for VS2010:

1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt 1> 1>Build FAILED.

I tried stackoverflow: Failure during conversion to COFF, it gave me this error:

1>stdafx.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification

Community
  • 1
  • 1
soniadumont
  • 31
  • 1
  • 3
  • That's a warning, not an error. Did specifying `/INCREMENTAL:NO` allow the linker to produce an executable (in other words, is your problem solved)? – Frédéric Hamidi Oct 06 '13 at 14:06
  • @FrédéricHamidi No, it still says: "1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt" – soniadumont Oct 06 '13 at 14:10
  • 8
    "Rename the C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cvtres.exe, so that the newer cvtres.exe in C:\Windows\Microsoft.NET\Framework\v4.0.30319 will be chosen. " seems to work in VS2010, but not in VS2012. This was suggested here: http://social.msdn.microsoft.com/Forums/vstudio/en-US/d10adba0-e082-494a-bb16-2bfc039faa80/vs2012-rc-installation-breaks-vs2010-c-projects?forum=vssetup – soniadumont Oct 06 '13 at 14:17

1 Answers1

-1

The obvious thing is to do a file search through all your RC files for VS_VERSION_INFO, you may have another one defined, or alternatively you may have the same .rc file included twice ...

That said, I've had vs2010 do some really wierd things to me before with resource and source files, and the only way to resolve it was to remove the file from the solution, and re-add it

user1990
  • 536
  • 3
  • 13