[CMake] cmake not found
Bill Hoffman
bill.hoffman at kitware.com
Wed May 4 16:19:17 EDT 2011
On 5/4/2011 1:32 PM, David Henderson wrote:
> I was abbreviating for conciseness on the path. I've tried running this
> in an MSYS cmd window and get the same error.
>
Seriously, I think you have a cygwin make.exe on your system. I don't
think msys is capable of producing this as output: /cygdrive/e.
I think that is your problem.
> I've spent the morning trying to dump out as many environment variables
> that may be related as possible.
>
> This is really frustrating as the build just works on Linux...
>
> /Sent via DROID on Verizon Wireless/
>
>
> -----Original message-----
>
> *From: *David Cole <david.cole at kitware.com>*
> To: *David Henderson <dnadavewa at yahoo.com>*
> Cc: *cmake at cmake.org*
> Sent: *Tue, May 3, 2011 10:25:23 GMT+00:00*
> Subject: *Re: [CMake] cmake not found
>
> I guess the "/cygdrive/e/workspace/GSDesignGUI" must be from the
> MSYS make program then...
>
> Are you really doing a "cmake ../src/explorergui" from the root of
> the E: drive? Or were you just abbreviating in your email?
>
> Has anybody else seen this error with the MSYS Makefiles generator?
>
> The E:> suggests you're running it in a Windows command prompt. Are
> you running in an MSYS prompt? If not, try it from an MSYS prompt,
> and let us know how that goes.
>
>
> On Mon, May 2, 2011 at 5:21 PM, David Henderson <dnadavewa at yahoo.com
> <mailto:dnadavewa at yahoo.com>> wrote:
>
> 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
> <mailto:david.cole at kitware.com>>
> *To:* David Henderson <dnadavewa at yahoo.com
> <mailto:dnadavewa at yahoo.com>>
> *Cc:* cmake at cmake.org <mailto: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 <mailto: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 <http://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
>
>
>
>
>
> _______________________________________________
> 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
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
More information about the CMake
mailing list