Jump to content
  • Advertisement
Sign in to follow this  
guitarguy310

Quick help needed: DirectInput8Create

This topic is 4779 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

I'm trying to build an input engine for my game core but I can't seem to compile it. I'm using Dev-Cpp 4.9.9.0 and have included "dinput8.h" and linked "libdinput8.a" and "libdinput.a" at the same time. In my function to create the DI8 object, I get the following error: [Linker error] undefined reference to `IID_IDirectInput8A' Am I missing a header or a library or something? It seems like a very simple problem and there should be some stupid reason for it that I'm missing. Any suggestions? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Thanks for that, I was right. It was a stupid problem and there was a simple answer to it :) But why couldn't I find that in any of the MSDN archives? Damn Microsoft! (just kidding)
It still won't compile, though. Here's the latest error:

Warning C:\Game Core\Warning .drectve `%.*s' unrecognized

Have you seen that before, or did I have a typo and it won't show me where it is?
Thanks for your help

Share this post


Link to post
Share on other sites
Quote:
Original post by guitarguy310
Thanks for that, I was right. It was a stupid problem and there was a simple answer to it :) But why couldn't I find that in any of the MSDN archives? Damn Microsoft! (just kidding)


I'm sure it's there somewhere. [grin]

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!