Advertisement

DirectInput Error :(

Started by April 08, 2001 05:31 PM
2 comments, last by CGMon 23 years, 7 months ago
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
You have to link dinput.lib to your project.

Gero Gerber
Advertisement
It looks like you didn''t link against dinput.lib and dxgui.lib. Just add them to your project.
Thanks guyz for the info

Unfortunatly my app now does not display when I load it up - it just shows the frame of the window and thats it :/

Maybe I should go through the tut again

Later
C G M O N

This topic is closed to new replies.

Advertisement