fatal error LNK1123
#1
Exclamation 
Hello. I am trying to build tutorials and getting same error. Here is a log:
1>------ Build started: Project: cube_v1, Configuration: Debug Win32 ------
1>cube.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
1>     Creating library ..\..\..\binaries\win32\vs2010\Debug\cube_v1.lib and object ..\..\..\binaries\win32\vs2010\Debug\cube_v1.exp
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I've tried to set 'INCREMENTAL:NO' as you can see. But it doesn't effect.
#2
Apost 
Which version of Visual Studio are you using? You need to use VS2010 or VS2008.

If you are already using VS2010, try to install Visual Studio 2010 with SP1. Visual Studio seems to have a problem if VS2012 and VS2010 w/o SP is installed. See also http://stackoverflow.com/questions/10888...ile-inval

Hope this helps.
#3
Apost 
I have both Visual Studio 2013 and Visual Studio 2010 Express installed.
Trying to remove them and install VS2010 only... Will write out if get some results.
#4
Apost 
Fixed by installing SP1 for Visual Studio 2010
#5
Apost 
(18 May 2014, 11:10)erlimoen Wrote: Fixed by installing SP1 for Visual Studio 2010

Cool.

The thread would be better placed in the Tutorials forum. I will move it there.


Forum Jump:


Copyright © 2011-2023 Spraylight GmbH.