1

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.

androidbuddy
  • 196
  • 13
  • I see no evidence that VS6 is the problem. Step 1 for you is to isolate the actual problem. – David Heffernan Apr 01 '14 at 07:22
  • Thank you.But what can I do to find the cause ? – androidbuddy Apr 01 '14 at 07:27
  • possible duplicate of [Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview](http://stackoverflow.com/questions/10888391/error-link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-inval) – David Heffernan Apr 01 '14 at 09:35
  • All you had to do was what I just did and type the error message into a search engine. There are hundreds of hits. I've found a dupe question. There are many. – David Heffernan Apr 01 '14 at 09:36
  • Ya David, I also found so many references in Google but none of them helped me and so am I here. Unfortunately, setting "Enable Incremental Linking" to "No (/INCREMENTAL:NO)" does not work in my case. – androidbuddy Apr 01 '14 at 12:10
  • Doesn't change the fact that this a dupe – David Heffernan Apr 01 '14 at 12:10

1 Answers1

1

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.

androidbuddy
  • 196
  • 13