Sunday 10 June 2018

windows - Error 'LINK : fatal error LNK1123: failure during conversion to COFF: failure while building the project

I have visual studio C++ 6.0 and visual studio C++ 2010 express installed in my PC. My friend is able to compile the same project in his PC with visual studio 2010 express.But my PC throws and error




LINK : fatal error LNK1123: failure during conversion to COFF




I do not want to uninstall visual studio C++ 6.0. I have to keep that for other projects. I can uninstall/install Visual studio C++ 2010 express.




Please help me to solve this compatibility issue.
thank you.
enter image description here



UPDATE [SOLUTION] :


I solved issue by changing .NET framework.




I checked that my PC had .NET framework 4.5 installed so I uninstalled it and installed .NET framework 4. And now I can successfully compile my project in visual studio C++ 2010 express.




I do not even need to set "Enable Incremental Linking" to "No
(/INCREMENTAL:NO)" without that also it is working.




Thank you all.

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...