Jump to content
  • Advertisement
Sign in to follow this  
PhilVaz

DINPUT8 unresolved

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

Hello, I'm getting an unresolved external symbols on DirectInput. Trying to do a basic init keyboard and mouse, then display keyboard and mouse data. No compile errors, but some link errors. Maybe some library I'm forgeting? I have manually included dinput8.lib and dinput.h but getting this: Linking... DirectInputDemo.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A DirectInputDemo.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard DirectInputDemo.obj : error LNK2001: unresolved external symbol _GUID_SysMouse dinput8.lib(dilib2.obj) : error LNK2001: unresolved external symbol _GUID_Key dinput8.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_ZAxis dinput8.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_YAxis dinput8.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_XAxis Release/DirectInputDemo.exe : fatal error LNK1120: 7 unresolved externals Something to do with GUID? Source here: DirectInputDemo.cpp DirectInputDemo.zip Phil P

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
nice to see you around again Phil:D I've still got your Vazteroids hanging around somewhere!

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!