<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family:times new roman, new york, times, serif;font-size:12pt">Hello David:<br><br>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.<br><br>Thanks!!<br><br>Dave H<br><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> David Cole <david.cole@kitware.com><br><b><span style="font-weight: bold;">To:</span></b> David Henderson <dnadavewa@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> cmake@cmake.org<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, May 2, 2011 7:l28:00 AM<br><b><span
style="font-weight: bold;">Subject:</span></b> Re: [CMake] cmake not found<br></font><br>
Looks to me like you're using the cygwin cmake.<br><br>Use the native Windows cmake instead for generating with the "MSYS Makefiles" generator.<br><br>They differ in how they treat paths to file names.<br><br>
<br><div class="gmail_quote">On Fri, Apr 29, 2011 at 9:01 PM, David Henderson <span dir="ltr"><<a rel="nofollow" ymailto="mailto:dnadavewa@yahoo.com" target="_blank" href="mailto:dnadavewa@yahoo.com">dnadavewa@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex;">
I'm having trouble compiling a project using cmake. Here is the output from the<br>
command line execution of the offending line of my Makefile on Windows 7 64bit:<br>
<br>
<br>
E:> cmake -G "MSYS Makefiles" ../src/explorergui -DR_LIBRARIES=${LIBR}<br>
CMakeCache.txt -DR_INCLUDES=${R_INCLUDE_DIR}<br>
-DCMAKE_INSTALL_PREFIX=../inst/libs/<br>
-- The C compiler identification is GNU<br>
-- The CXX compiler identification is GNU<br>
-- Check for working C compiler: C:/Rtools/MinGW/bin/gcc.exe<br>
-- Check for working C compiler: C:/Rtools/MinGW/bin/gcc.exe -- broken<br>
CMake Error at C:/CMake-2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52<br>
(MESSAGE):<br>
The C compiler "C:/Rtools/MinGW/bin/gcc.exe" is not able to compile a<br>
simple test program.<br>
<br>
It fails with the following output:<br>
<br>
Change Dir:<br>
E:/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/CMakeFiles/CMakeTmp<br>
<br>
<br>
<br>
<br>
Run Build Command:C:/Rtools/bin/make.exe "cmTryCompileExec/fast"<br>
<br>
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make<br>
CMakeFiles/cmTryCompileExec.dir/build<br>
<br>
make[1]: Entering directory<br>
`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/<br>
CMakeFiles/CMakeTmp'<br>
<br>
<br>
/C/CMake-2.8/bin/cmake.exe -E cmake_progress_report<br>
/E/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/CMakeFiles<br>
/CMakeTmp/CMakeFiles<br>
1<br>
<br>
/C/CMake-2.8/bin/cmake.exe: not found<br>
<br>
make[1]: Leaving directory<br>
`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/<br>
CMakeFiles/CMakeTmp'<br>
<br>
<br>
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error<br>
127<br>
<br>
make: *** [cmTryCompileExec/fast] Error 2<br>
<br>
<br>
<br>
<br>
<br>
CMake will not be able to correctly generate this project.<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:3 (project)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
<br>
E:><br>
<br>
<br>
<br>
cmake is in C:\CMake-2.8\bin, so why am I getting this error? I initially<br>
thought the problem was with the space used in Program Files, but moving cmake<br>
2.8 to the root didn't seem to fix the error. Any idea on what is going on?<br>
<br>
Thanks!!<br>
<br>
Dave H<br>
_______________________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br><span>
Visit other Kitware open-source projects at <a target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br>
<br><span>
Please keep messages on-topic and check the CMake FAQ at: <a target="_blank" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a></span><br>
<br>
Follow this link to subscribe/unsubscribe:<br><span>
<a target="_blank" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></span><br>
</blockquote></div><br>
</div></div></div></body></html>