I am attempting to program a joystick enumalator with DirectInput.
I got it to where my code finally appears to work, but now I get some linker errors.
Code:
[Linker error] undefined reference to `IID_IDirectInput8A'
[Linker error] undefined reference to `DirectInput8Create@20'
[Linker error] undefined reference to `GUID_XAxis'
[Linker error] undefined reference to `GUID_YAxis'
...and so on.
I have linked dinput.lib,dinput8.lib, all the ones I can find.
And when I link dxguid.lib, some of them vanish, but I get another error:
Code:
.drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" 'unrecognized
Am I not linking something? Bad Code, perhaps?
Can anyone help?
Thanks,
The_Goat();