[CMake] Problem using cmake with mingw
Bill Hoffman
bill.hoffman at kitware.com
Fri Feb 23 06:41:17 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
I have just put a fix into CVS CMake that allows for () in paths to be
correctly handled. You will have to try CVS CMake.
-Bill
More information about the CMake
mailing list