[CMake] Problem with last CMake

Bill Hoffman bill.hoffman at kitware.com
Fri Jan 26 10:40:55 EST 2007


Ilya Shvetsov wrote:
>         Hi, all.
>
> I try use last CMake 2.4.6
> It fails generate MSYS Makefiles. At the same time version 2.4.3 has 
> NO such problem.
> I have all last updates for MSYS and for MinGW.
> System is Windows XP SP2
>
> Hear is cmake log:
>
> cmake -G "MSYS Makefiles" ..
>
> -- Check for working C compiler: H:/DevTools/msys/1.0/mingw/bin/gcc.exe
> -- Check for working C compiler: 
> H:/DevTools/msys/1.0/mingw/bin/gcc.exe -- broken
> CMake Error: The C compiler "H:/DevTools/msys/1.0/mingw/bin/gcc.exe" 
> is not able to compile a simple test program.
> It fails with the following output:
>  /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make 
> CMakeFiles/cmTryCompileExec.dir/build
> make[1]: Entering directory 
> `/cygdrive/.../tests/msys/CMakeFiles/CMakeTmp'
> /H/DevTools/BuildSys/CMake/bin/cmake.exe -E cmake_progress_report 
> /.../tests/msy
> s/CMakeFiles/CMakeTmp/CMakeFiles 1
> /bin/sh: /H/DevTools/BuildSys/CMake/bin/cmake.exe: No such file or 
> directory
> make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj] Error 
> 127
> make[1]: Leaving directory `/cygdrive/.../tests/msys/CMakeFiles/CMakeTmp'
> make: *** [cmTryCompileExec/fast] Error 2
Which version of make are you using?

make --version

Also, can you run
uname -a

Thanks.

-Bill



More information about the CMake mailing list