DirectInput Error :(
Does anyone know why I would get these errors after following Lesson23 from NeHe's website?
--------------------Configuration: myapp - Win32 Debug--------------------
Compiling...
myapp.cpp
Linking...
myapp.obj : error LNK2001: unresolved external symbol _c_dfDIKeyboard
myapp.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard
myapp.obj : error LNK2001: unresolved external symbol _IID_IDirectInputDevice7A
myapp.obj : error LNK2001: unresolved external symbol _DirectInputCreateEx@20
myapp.obj : error LNK2001: unresolved external symbol _IID_IDirectInput7A
Debug/myapp.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.
myapp.exe - 6 error(s), 0 warning(s)
Edited by - CGMon on April 8, 2001 6:38:43 PM
C G M O N
April 08, 2001 05:38 PM
It looks like you didn''t link against dinput.lib and dxgui.lib. Just add them to your project.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement