[CMake] cmake not found

David Henderson dnadavewa at yahoo.com
Mon May 2 17:21:37 EDT 2011


Hello David:

I do not have cygwin installed.  Anywhere.  I also did a search for cmake.exe 
and the only one available is the one in the cmake installation.  I have version 
2.8.4 installed.

Thanks!!

Dave H



________________________________
From: David Cole <david.cole at kitware.com>
To: David Henderson <dnadavewa at yahoo.com>
Cc: cmake at cmake.org
Sent: Mon, May 2, 2011 7:l28:00 AM
Subject: Re: [CMake] cmake not found

Looks to me like you're using the cygwin cmake.

Use the native Windows cmake instead for generating with the "MSYS Makefiles" 
generator.

They differ in how they treat paths to file names.



On Fri, Apr 29, 2011 at 9:01 PM, David Henderson <dnadavewa at yahoo.com> wrote:

I'm having trouble compiling a project using cmake.  Here is the output from the
>command line execution of the offending line of my Makefile on Windows 7 64bit:
>
>
>E:> cmake -G "MSYS Makefiles" ../src/explorergui -DR_LIBRARIES=${LIBR}
>CMakeCache.txt -DR_INCLUDES=${R_INCLUDE_DIR}
>-DCMAKE_INSTALL_PREFIX=../inst/libs/
>-- The C compiler identification is GNU
>-- The CXX compiler identification is GNU
>-- Check for working C compiler: C:/Rtools/MinGW/bin/gcc.exe
>-- Check for working C compiler: C:/Rtools/MinGW/bin/gcc.exe -- broken
>CMake Error at C:/CMake-2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52
>(MESSAGE):
> The C compiler "C:/Rtools/MinGW/bin/gcc.exe" is not able to compile a
> simple test program.
>
> It fails with the following output:
>
>  Change Dir:
>E:/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/CMakeFiles/CMakeTmp
>
>
>
>
>
> Run Build Command:C:/Rtools/bin/make.exe "cmTryCompileExec/fast"
>
> /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
> CMakeFiles/cmTryCompileExec.dir/build
>
> make[1]: Entering directory
> `/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/
>CMakeFiles/CMakeTmp'
>
>
> /C/CMake-2.8/bin/cmake.exe -E cmake_progress_report
> /E/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/CMakeFiles
>/CMakeTmp/CMakeFiles
> 1
>
> /C/CMake-2.8/bin/cmake.exe: not found
>
> make[1]: Leaving directory
> `/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/
>CMakeFiles/CMakeTmp'
>
>
> make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error
> 127
>
> make: *** [cmTryCompileExec/fast] Error 2
>
>
>
>
>
> CMake will not be able to correctly generate this project.
>Call Stack (most recent call first):
> CMakeLists.txt:3 (project)
>
>
>-- Configuring incomplete, errors occurred!
>
>E:>
>
>
>
>cmake is in C:\CMake-2.8\bin, so why am I getting this error?  I initially
>thought the problem was with the space used in Program Files, but moving cmake
>2.8 to the root didn't seem to fix the error.  Any idea on what is going on?
>
>Thanks!!
>
>Dave H
>_______________________________________________
>Powered by www.kitware.com
>
>Visit other Kitware open-source projects at 
>http://www.kitware.com/opensource/opensource.html
>
>Please keep messages on-topic and check the CMake FAQ at: 
>http://www.cmake.org/Wiki/CMake_FAQ
>
>Follow this link to subscribe/unsubscribe:
>http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110502/0a481f5a/attachment-0001.htm>


More information about the CMake mailing list