Jump to content
  • Advertisement
Sign in to follow this  
konst3d

[SlimDX] Unresolved externals when building SlimDX.

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

Hi all. I've checked out the latest SlimDX revision, and trying to build it like described in this http://www.davidmillington.net/news/index.php/2009/12/07/building-your-own-slimdx-binary-from-svn article. I've got the following linker errors:
1>Controller.obj : error LNK2001: unresolved external symbol "extern "C" unsigned long __stdcall XInputGetBatteryInformation(unsigned long,unsigned char,struct _XINPUT_BATTERY_INFORMATION *)" (?XInputGetBatteryInformation@@$$J212YGKKEPAU_XINPUT_BATTERY_INFORMATION@@@Z)
1>Controller.obj : error LNK2001: unresolved external symbol "extern "C" unsigned long __stdcall XInputGetKeystroke(unsigned long,unsigned long,struct _XINPUT_KEYSTROKE *)" (?XInputGetKeystroke@@$$J212YGKKKPAU_XINPUT_KEYSTROKE@@@Z)
1>Controller.obj : error LNK2001: unresolved external symbol "extern "C" void __stdcall XInputEnable(int)" (?XInputEnable@@$$J14YGXH@Z)
1>d:\src\SlimDX\full\build\x86\Public\SlimDX.dll : fatal error LNK1120: 3 unresolved externals
If these 3 methods are commented out (Controller.cpp) then project builds without any errors. Any ideas what is wrong with these methods?

Share this post


Link to post
Share on other sites
Advertisement
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!