could someone please help me with these linker errors?

Started by
4 comments, last by Anurag Banerjee 18 years, 9 months ago
They are as follows

dxinput.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard
dxinput.obj : error LNK2001: unresolved external symbol _GUID_SysMouse
dxinput.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A
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
dinput8.lib(dilib2.obj) : error LNK2001: unresolved external symbol _GUID_Key


I have inluded dinput8.lib in the lib paths. and also I have included dinput.h into my file. Any Ideas? Thanks EDIT: just in case it matters I am using VC++ express betat 2
These tears..leave scars...as they run down my face.
Advertisement
You need to link to dxguid.lib.
Quick Google search turned up this that suggests also linking with dxguid.lib in addition to dinput8.lib.

[edit]Yeah, that.[/edit]
"We should have a great fewer disputes in the world if words were taken for what they are, the signs of our ideas only, and not for things themselves." - John Locke
That did it! thanks
These tears..leave scars...as they run down my face.
Include the dxguid.lib library file.

Edit: Wow, maybe I should refresh before replying after letting it sit for 10 minutes.
hi as everyone said ,, include the dxguid.lib library file and than cross schek if you have set the cooperative level right for the mouse and the keyboard, just check with the syntacx as they keep on changing with every version of directX

This topic is closed to new replies.

Advertisement