XNA Creators Club Online
Page 1 of 1 (1 items)
Sort Posts: Previous Next

Linker error while building DirectX sample program

Last post 07/11/2009 17:21 by Jeevge. 0 replies.
  • 07/11/2009 17:21

    Linker error while building DirectX sample program

    I am using VS2005 on Vista and I ve added the patches. While I build the sample joystick code, i get the following linker error.
    1>Joystick.obj : error LNK2001: unresolved external symbol _c_dfDIJoystick2
    1>Joystick.obj : error LNK2001: unresolved external symbol _IID_IDirectInputJoyConfig8
    1>Joystick.obj : error LNK2019: unresolved external symbol _DirectInput8Create@20 referenced in function "long __cdecl InitDirectInput(struct HWND__ *)" (?InitDirectInput@@YAJPAUHWND__@@@Z)
    1>Joystick.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8W
    1>Joystick.obj : error LNK2001: unresolved external symbol _GUID_POV
    1>Joystick.obj : error LNK2001: unresolved external symbol _GUID_Slider
    1>Joystick.obj : error LNK2001: unresolved external symbol _GUID_RzAxis
    1>Joystick.obj : error LNK2001: unresolved external symbol _GUID_RyAxis
    1>Joystick.obj : error LNK2001: unresolved external symbol _GUID_RxAxis
    1>Joystick.obj : error LNK2001: unresolved external symbol _GUID_ZAxis
    1>Joystick.obj : error LNK2001: unresolved external symbol _GUID_YAxis
    1>Joystick.obj : error LNK2001: unresolved external symbol _GUID_XAxis
    1>E:\Learning\Joystick\Debug_Unicode\Joystick.exe : fatal error LNK1120: 12 unresolved externals
    1>Build log was saved at "file://e:\Learning\Joystick\Debug_Unicode\BuildLog.htm"
    Can anyone please help me in resolving this?
Page 1 of 1 (1 items) Previous Next