[CMake] Problem using cmake with mingw

Bill Hoffman bill.hoffman at kitware.com
Sat Mar 24 14:20:51 EST 2007


Claudiu-Daniel wrote:
> I'm trying to compile OIS with cmake
> I've managed to do this with a VS 2005 solution generated by cmake and 
> it works fine but when i try to do it with a mingw makefile I get this 
> error
>
> D:\ScatteredLands\Project\trunk\buildgcc>mingw32-make
> Scanning dependencies of target ois
> [  0%] Building CXX object 
> external/ois-1.0RC1/CMakeFiles/ois.dir/src/OISEffect.obj
> [  1%] Building CXX object 
> external/ois-1.0RC1/CMakeFiles/ois.dir/src/OISForceFeedback.obj
> mingw32-make[2]: *** No rule to make target `C:/Program 
> Files/Microsoft DirectX SDK \(February 2007\)/Include/dinput.h', 
> needed by `external/ois-1.0RC1/CMak
> eFiles/ois.dir/src/OISInputManager.obj'.  Stop.
> mingw32-make[1]: *** [external/ois- 1.0RC1/CMakeFiles/ois.dir/all] Error 2
> mingw32-make: *** [all] Error 2
This is a bug in 2.4.6, it is fixed CVS and will be fixed in 2.4.7.  
2.4.6 and below had problems with () in the path. 

-Bill



More information about the CMake mailing list