• Advertisement
Sign in to follow this  

Problem when compiling direct input stuff

This topic is 4325 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 compiling a tutorial example for Direct Input I get the following error:
dinput8.lib(dilib2.obj) : fatal error LNK1103: debugging information corrupt; recompile module
I've tried all combinations of the following: - having/not having the line: #define DIRECTINPUT_VERSION 0x0800 above the include of the line #include <dinput.h> - under Project settings/Link linking to dinput.lib - under Project settings/Link linking to dinput8.lib What could the problem be?

Share this post


Link to post
Share on other sites
Advertisement
Did you try doing a clean build (recompile all your files)? Try compiling in release mode too. If that doesn't work, maybe reinstall directx. That sucks.

Share this post


Link to post
Share on other sites
Oddly, release mode does work... But I really want debug mode to work too. The error message is "debug info incorrect". Is there a #pragma command I can use to disable some of the debugging information? In another tutorial program I saw some #pragma command that disabled a few "deprecated warnings", a comment said.

Share this post


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

  • Advertisement