I'm trying to build cegui 0.8.4 on my computer. Here what I've :
Linking CXX executable ..\bin\CEGUISampleFramework-0.8.exe
CMakeFiles\CEGUISampleFramework-0.8.dir/objects.a(Win32AppHelper.cpp.obj):Win32A
ppHelper.cpp:(.text+0x899): undefined reference to `IID_IDirectInput8A'
CMakeFiles\CEGUISampleFramework-0.8.dir/objects.a(Win32AppHelper.cpp.obj):Win32A
ppHelper.cpp:(.text+0x8a9): undefined reference to `DirectInput8Create@20'
CMakeFiles\CEGUISampleFramework-0.8.dir/objects.a(Win32AppHelper.cpp.obj):Win32A
ppHelper.cpp:(.text+0x8cf): undefined reference to `GUID_SysKeyboard'
CMakeFiles\CEGUISampleFramework-0.8.dir/objects.a(Win32AppHelper.cpp.obj):Win32A
ppHelper.cpp:(.text+0x8ed): undefined reference to `c_dfDIKeyboard'
collect2.exe: error: ld returned 1 exit status
samples_framework\CMakeFiles\CEGUISampleFramework-0.8.dir\build.make:465: recipe
for target 'bin/CEGUISampleFramework-0.8.exe' failed
mingw32-make[2]: *** [bin/CEGUISampleFramework-0.8.exe] Error 1
CMakeFiles\Makefile2:578: recipe for target 'samples_framework/CMakeFiles/CEGUIS
ampleFramework-0.8.dir/all' failed
mingw32-make[1]: *** [samples_framework/CMakeFiles/CEGUISampleFramework-0.8.dir/
all] Error 2
Makefile:136: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
I'm building with mingw gcc 4.8.1 on Windows 7 (64bits but using 32bits compiler).
I've found a topic where this error could be related to DirectX. I've DirectX SDK June 2010.
CMake values DIRECTXSDK_H_PATH and DIRECTXSKD_LIB_PATH lead to the correct folders. It leads to the x86 libs folder.
If I understand correctly, it is only the sample framework that's stuck. Is there any way to skip it or maybe I could build my projects without the samples framework ?
Thanks to anyone will answer