Jump to content
  • 0

Building Ace error [zero]


alabastardeuce

Question

I'm currently trying to build ACE in visual C++ 2010 express;

I get an error building the DEBUG version as follows:

(~300 lines of success)

1> Generating Code...

1> Creating library ..\lib\ACEd.lib and object ..\lib\ACEd.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 get an error much more early in the process (although it is the same error) trying to build the RELEASE part

1>------ Build started: Project: ACE, Configuration: Release Win32 ------

1> Creating library ..\lib\ACE.lib and object ..\lib\ACE.exp

1> Generating code

1> Finished generating code

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 ==========

(the config file in ace_wrappers/ace is properly setup as a header with #include "ace/config-win32.h" inside )

anyone? :o

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Hi there, i think that Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview - Stack Overflow describes what's probably the cause. You'll probably have to disable incremental linking, by doing the following (also described in the SO question):

Go to:

Project Properties

-> Configuration Properties

-> Linker (General)

-> Enable Incremental Linking -> set it to "No (/INCREMENTAL:NO)"

you could start by applying this to only the ACE project and see if that's enough. The other solution described is to install VS 2010 SP1 which should solve it aswell. Hope this helps!

Link to comment
Share on other sites

TY for the response;

I found out my Incremental linking was already set to NO;

after checking the SO page; i tried the "remove .NET 4.5, then reinstall VC 2010" method and both debug and release have built successfully!

( there is also some speculation on the SO page that the manifest options needed to be reconfigured if you want to keep your .net/VC2012 versions in tact) - no such concern for me at the moment :DD

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use