[CMake] Problem using cmake with mingw

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sat Mar 24 14:29:43 EST 2007


Bill Hoffman schrieb:
> 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.
But the log shows another problem - mingw can not use MS PSDK headers.

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20070324/3f0628e6/signature.pgp


More information about the CMake mailing list