Jump to content
  • Advertisement
Sign in to follow this  
LemonLime

Linking problem...

This topic is 4700 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When I try to compile my project for DEBUG (OK for RETAIL), I get the following message...
dinput8.lib(dilib2.obj) : fatal error LNK1103: debugging information corrupt; recompile module
Error executing link.exe.
... the MSDN docs say...
Linker Tools Error LNK1103
debugging information corrupt; recompile module

Possible cause 

The compilation was terminated before a valid object file was created. 
Recompile the given object file. If recompiling does not correct the problem,
note the circumstances of the error, try to isolate the problem, and create a
reproducible test case. Then consult the technical-support help file, the
technical-support section in one of your manuals, or Microsoft Product Support
Services.

See Corrupt Object File for more information.
... and...
Corrupt Object File
Sometimes the linker is unable to process your object files because they are
corrupt. Besides the usual causes of corrupt files such as network problems or
exposing a floppy disk to a magnetic field, sometimes the compiler writes an
incorrect object file, which you should report to Microsoft Product Support
Services.

After you have ruled out a hardware, operating system, or network problem as
the cause of the corrupt object file, you should try the tips below. Changing
compiler options and recompiling sometimes causes the compiler to write a non-corrupt
object file.

Possible solutions 

Turn off optimization with the /Od (Disable) option. 
Disable minimal rebuild with the /Gm– (Enable Minimal Rebuild) option. 
Compile with the /Gy (Enable Function-Level Linking) option to package functions. 
Use a different code generation option. See the /G (Optimize for Processor) options. 
Change the order of functions and global variables
... I have tried all the build switches. Thanks for any help

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by LemonLime
Apologies, I must have read it pre-December 2004.

No big deal [smile]

Quote:
Small typo in the FAQ... "VC++6. 0is"

The FAQ's filled with similar errors, unfortunately. This comes from a bug somewhere in my system. Basically, whenever I copy some text and paste it (from or to a borwser), it borks spaces like this.

Share this post


Link to post
Share on other sites
Quote:

The FAQ's filled with similar errors, unfortunately.


Yes, my brain read it as...

Quote:

The only issue is (with?) that the D3DX.lib you need to use with VC++6.

Ols (is?) in the DirectX9.0c Summer 2004 Extras package.


... :D

BTW, any chance of a little green icon on the forum FAQ (like recent posts) so you see when it has been updated?

[Edited by - LemonLime on September 4, 2005 11:28:35 AM]

Share this post


Link to post
Share on other sites
Quote:
BTW, any chance of a little green icon on the forum FAQ (like recent posts) so you see when it has been updated?

That's a pretty good suggestion. Can you please take it to the "GDNet Comments, Suggestions and Ideas" forum? The staff will take it from there.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!