E
E
Edward2015-06-03 23:23:48
C++ / C#
Edward, 2015-06-03 23:23:48

Error fatal error LNK1123 visual studio 2010 when adding .rc file?

I'm writing code in visual studio 2010. I want to add an icon to the project. there was a mistake

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

cured by disabling Composer incremental no.
When adding the rc file, it pops up again. Tried all methods. Not many found and do not work. Sorry to bother you . Help me please.
1>------ Build started: project: kurs, Configuration: Debug x64 ------
1>Build started on 06/03/2015 23:04:26.
1>InitializeBuildStatus:
1> Access "x64\Debug\kurs.unsuccessfulbuild".
1>ClCompile:
1> No update required for all output.
1> No update required for all output.
1>ResourceCompile:
1> No update required for all output.
1>ManifestResourceCompile:
1> No update required for all output.
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
1>
1>Build failed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Edward, 2015-06-03
@ed_milson

The problem was solved by deleting C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cvtres.exe
and deleting C:\Program Files (x86)\VisualStudio10\VC\bin\amd64\cvtres.exe

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question