Skip to main content
gamedev.net
🔒 Locked

DirectInput error

Started by Icarus3 0 replies 650+ views
Original Post
Icarus3
Icarus3
When i try to compile my project it gives the folowing errors --------------------Configuration: Directx - Win32 Debug-------------------- Compiling... DirectInput.cpp Creating library... --------------------Configuration: Core - Win32 Debug-------------------- Creating library... --------------------Configuration: App_Test - Win32 Debug-------------------- Compiling... Main.cpp Linking... Core.lib(DirectInput.obj) : error LNK2001: unresolved external symbol _GUID_SysKeyboard Core.lib(DirectInput.obj) : error LNK2001: unresolved external symbol _IID_IDirectInput8A dinput8.lib(dilib2.obj) : error LNK2001: unresolved external symbol _GUID_Key App_Test___Win32_Debug/App_Test.exe : fatal error LNK1120: 3 unresolved externals Error executing link.exe. App_Test.exe - 4 error(s), 0 warning(s) Does anyone know how to solve this I have dinput.h and dinput8.lib and dinput.lib included in the project file by using pragma''s
MindFlayer
MindFlayer
I think you also have to link "dxguid.lib" to your project.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.