Problem when compiling direct input stuff

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 on other sites
blaze02    100
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 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account