Mouse problem

Started by
1 comment, last by Attala101 18 years, 1 month ago
Hi again I'm using directx and I have included a mouse class. I just can't get it to compile right. It looks like a linker-problem but I thought I had included all I had to. In my project settings I have included d3d9.lib d3dx9.lib Dxerr9.lib winmm.lib dinput.lib and dinput8.lib. When I compile I get these errors: InputManager.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard InputManager.obj : error LNK2001: unresolved external symbol _GUID_SysMouse InputManager.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A dinput.lib(dilib2.obj) : error LNK2001: unresolved external symbol _GUID_Key dinput.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_ZAxis dinput.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_YAxis dinput.lib(dilib1.obj) : error LNK2001: unresolved external symbol _GUID_XAxis Any ideas?
Advertisement
Add dxguid.lib
Thanks!

This topic is closed to new replies.

Advertisement