воскресенье, 24 февраля 2013 г.

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

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

It's a common error when you compile C++-projects with Visual Studio 2010. Ift happens when 2 version of Visual Studio are installed on same PC (like 2010 and 2012) and cause conflict between two versions of cvtres.exe.

To fix it, go to the bin directory of Visual Studio 2010 (c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\ or something like this) and rename cvtres.exe to cvtres0.exe.

Don't worry, it willn’t break linker of 2010,

Комментариев нет:

Отправить комментарий