Code: Select all
..\tmp\obj\win32\external\irrlicht\CIrrDeviceWin32.o:CIrrDeviceWin32.cpp|| undefined reference to `IID_IDirectInput8A'|
..\tmp\obj\win32\external\irrlicht\CIrrDeviceWin32.o:CIrrDeviceWin32.cpp|| undefined reference to `IID_IDirectInput8A'|
From the error message there seems to be a problem with the input libraries from the DirectX package (dinput8 and dinput) however I can't seem to figure out what the problem is and The internet isn't helping me too much since MS decided DirectX 8 should suffer the same fate as the dinosaurs. I think I'll try to compile with NO_IRR_COMPILE_WITH_DIRECTINPUT_JOYSTICK_ and see if that gives any results.
I've tried every possible way:
- I've used the full path to libraries insdead of just the name in my Code::Blocks project.
- I've converted the .lib's to .a using gfxstyler's method. (I've also tried to link to the .lib files)
- I've linked not just to d3dx9 and d3d8 but to every library from both the DirectX versions.
Used tools are:
Latest Irrlicht from the SVN (1.9 with the latest commits in 2014)
Code::Blocks 13.12 (latest stable version)
GCC 4.8.1 x86 (using the MinGW from nuwen.net)
Windows XP SP3 x86 Professional (for compatibility reasons)
Thank you for your time and I'm waiting for your answers