<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">Here's the complete output of trying to build my package using the cmd tool from Qt:<br><br>Setting up environment for Qt usage...<br>Setting up environment for Qt usage...<br><br>C:\Windows\system32&gt;e:<br><br>E:\&gt;cd workspace\GSDesignGUI\package<br><br>E:\workspace\GSDesignGUI\package&gt;R CMD build --binary gsDesignExplorer<br>--binary is deprecated<br>* checking for file 'gsDesignExplorer/DESCRIPTION' ... OK<br>* preparing 'gsDesignExplorer':<br>* checking DESCRIPTION meta-information ... OK<br>* cleaning src<br>* checking for LF line-endings in source and make files<br>* checking for empty or unneeded directories<br>Removed empty directory 'gsDesignExplorer/explorergui-build/CMakeFiles/CMakeTmp/<br>CMakeFiles/cmTryCompileExec.dir'<br>Removed empty directory
 'gsDesignExplorer/explorergui-build/CMakeFiles/CMakeTmp/<br>CMakeFiles'<br>Removed empty directory 'gsDesignExplorer/explorergui-build/CMakeFiles/CMakeTmp'<br><br>Removed empty directory 'gsDesignExplorer/src/CMakeFiles/CMakeTmp/CMakeFiles/cmT<br>ryCompileExec.dir'<br>Removed empty directory 'gsDesignExplorer/src/CMakeFiles/CMakeTmp/CMakeFiles'<br>Removed empty directory 'gsDesignExplorer/src/CMakeFiles/CMakeTmp'<br>Removed empty directory 'gsDesignExplorer/src-build/CMakeFiles/CMakeTmp/CMakeFil<br>es/cmTryCompileExec.dir'<br>Removed empty directory 'gsDesignExplorer/src-build/CMakeFiles/CMakeTmp/CMakeFil<br>es'<br>Removed empty directory 'gsDesignExplorer/src-build/CMakeFiles/CMakeTmp'<br>* building binary distribution<br>* installing *source* package 'gsDesignExplorer' ...<br>** libs<br>&nbsp; running src/Makefile.win ...<br>mkdir -p ../explorergui-build; \<br>cd ../explorergui-build; \<br>cmake -G "MSYS Makefiles" ../src/explorergui
 -DR_LIBRARIES="-LC:/PROGRA~1/R/R-21<br>3~1.0/bin/i386 -lR" \<br>-DR_INCLUDES=C:/PROGRA~1/R/R-213~1.0/include -DCMAKE_INSTALL_PREFIX=../inst/libs<br>/; \<br>LD_LIBRARY_PATH=../inst/libs/; \<br>make install; \<br>mkdir -p ../src-build; \<br>cd ../src-build; \<br>cmake -G "MSYS Makefiles" ../src -DR_LIBRARIES="-LC:/PROGRA~1/R/R-213~1.0/bin/i3<br>86 -lR" \<br>-DR_INCLUDES=C:/PROGRA~1/R/R-213~1.0/include -DCMAKE_INSTALL_PREFIX=../src \<br>-DLD_LIBRARY_PATH=../inst/libs/; \<br>make install<br>-- CMAKE_MODULE_PATH:<br>-- CMAKE_ROOT: C:/CMake-2.8/share/cmake-2.8<br>-- CMAKE_COMMAND: C:/CMake-2.8/bin/cmake.exe<br>-- ENV{PATH}: C:\PROGRA~1\R\R-213~1.0\bin\i386C:\PROGRA~1\R\R-213~1.0\bin\i386C:<br>\QtSDK\Desktop\Qt\4.7.3\mingw\binC:\QtSDK\mingw\binC:\QtSDK\Desktop\Qt\4.7.3\min<br>gw\binC:\QtSDK\mingw\binC:\CMake-2.8\binC:\Program Files\R\R-2.13.0\bin%CommonPr<br>ogramFiles%\Microsoft Shared\Windows
 LiveC:\Rtools\binC:\Rtools\MinGW\binC:\Rtoo<br>ls\MinGW64\binC:\Windows\system32C:\WindowsC:\Windows\System32\WbemC:\Windows\Sy<br>stem32\WindowsPowerShell\v1.0C:\Program Files\Common Files\Microsoft Shared\Wind<br>ows LiveC:\CMake-2.6\bin<br>-- The C compiler identification is GNU<br>-- The CXX compiler identification is GNU<br>-- Check for working C compiler: C:/QtSDK/mingw/bin/gcc.exe<br>-- Check for working C compiler: C:/QtSDK/mingw/bin/gcc.exe -- broken<br>CMake Error at C:/CMake-2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52<br>(MESSAGE):<br>&nbsp; The C compiler "C:/QtSDK/mingw/bin/gcc.exe" is not able to compile a simple<br>&nbsp; test program.<br><br>&nbsp; It fails with the following output:<br><br>&nbsp;&nbsp; Change Dir: E:/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-bui<br>ld/CMakeFiles/CMakeTmp<br><br><br><br>&nbsp; Run Build Command:C:/Rtools/bin/make.exe "cmTryCompileExec/fast"<br><br>&nbsp; make[1]: Entering
 directory<br>&nbsp; `/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/<br>CMakeFiles/CMakeTmp'<br><br><br>&nbsp; /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make<br>&nbsp; CMakeFiles/cmTryCompileExec.dir/build<br><br>&nbsp; make[2]: Entering directory<br>&nbsp; `/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/<br>CMakeFiles/CMakeTmp'<br><br><br>&nbsp; /C/CMake-2.8/bin/cmake.exe -E cmake_progress_report<br>&nbsp; /E/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/CMakeFiles<br>/CMakeTmp/CMakeFiles<br>&nbsp; 1<br><br>&nbsp; /C/CMake-2.8/bin/cmake.exe: not found<br><br>&nbsp; makemake[2]: Leaving directory<br>&nbsp; `/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/<br>CMakeFiles/CMakeTmp'<br><br><br>&nbsp; [2]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error 127<br><br>&nbsp; makemake[1]: Leaving directory<br>&nbsp;
 `/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/<br>CMakeFiles/CMakeTmp'<br><br><br>&nbsp; [1]: *** [cmTryCompileExec/fast] Error 2<br><br><br><br><br><br>&nbsp; CMake will not be able to correctly generate this project.<br>Call Stack (most recent call first):<br>&nbsp; CMakeLists.txt:8 (project)<br><br><br>-- Configuring incomplete, errors occurred!<br>make[1]: *** No rule to make target `install'.&nbsp; Stop.<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>&nbsp; The C compiler "c:/Rtools/MinGW/bin/gcc.exe" is not able to compile a<br>&nbsp; simple test program.<br><br>&nbsp; It fails with the following output:<br><br>&nbsp;&nbsp; Change Dir:
 E:/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/<br>CMakeTmp<br><br><br><br>&nbsp; Run Build Command:c:/Rtools/bin/make.exe "cmTryCompileExec/fast"<br><br>&nbsp; make[1]: Entering directory<br>&nbsp; `/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/CMa<br>keTmp'<br><br><br>&nbsp; /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make<br>&nbsp; CMakeFiles/cmTryCompileExec.dir/build<br><br>&nbsp; make[2]: Entering directory<br>&nbsp; `/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/CMa<br>keTmp'<br><br><br>&nbsp; /C/CMake-2.8/bin/cmake.exe -E cmake_progress_report<br>&nbsp; /E/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/CMakeTmp/CMak<br>eFiles<br>&nbsp; 1<br><br>&nbsp; /C/CMake-2.8/bin/cmake.exe: not found<br><br>&nbsp; make[2]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error<br>&nbsp; 127<br><br>&nbsp; make[2]: Leaving directory<br>&nbsp;
 `/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/CMa<br>keTmp'<br><br><br>&nbsp; make[1]: *** [cmTryCompileExec/fast] Error 2<br><br>&nbsp; make[1]: Leaving directory<br>&nbsp; `/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/CMa<br>keTmp'<br><br><br><br><br><br><br>&nbsp; CMake will not be able to correctly generate this project.<br>Call Stack (most recent call first):<br>&nbsp; CMakeLists.txt:3 (project)<br><br><br>-- Configuring incomplete, errors occurred!<br>make[1]: *** No rule to make target `install'.&nbsp; Stop.<br>make: *** [all] Error 2<br>ERROR: compilation failed for package 'gsDesignExplorer'<br>* removing 'C:/Users/dnadave/AppData/Local/Temp/RtmpBZmJef/Rinst3c921d9d/gsDesig<br>nExplorer'<br>&nbsp;ERROR<br>Installation failed<br><br>E:\workspace\GSDesignGUI\package&gt;<br><br>I noticed that the path output in the first build session has no separators between directories, i.e. they all
 flow into a single entity...<br><br>Dave H<br><br><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"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> David Cole &lt;david.cole@kitware.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> David Henderson &lt;dnadavewa@yahoo.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> cmake@cmake.org<br><b><span style="font-weight: bold;">Sent:</span></b> Tue, May 3, 2011 3:25:19 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [CMake] cmake not found<br></font><br>
I guess the "<span class="Apple-style-span" style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse;">/cygdrive/e/workspace/GSDesignGUI" must be from the MSYS make program then...</span><div>
<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse;">Are you really doing a "cmake ../src/explorergui" from the root of the E: drive? Or were you just abbreviating in your email?</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse;"><br></span></font>Has anybody else seen this error with the MSYS Makefiles generator?<br><div class="gmail_quote">
<br></div><div class="gmail_quote">The E:&gt; suggests you're running it in a Windows command prompt.&nbsp;Are you running in an MSYS prompt? If not, try it from an MSYS prompt, and let us know how that goes.</div><div class="gmail_quote">
<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, May 2, 2011 at 5:21 PM, David Henderson <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:dnadavewa@yahoo.com" target="_blank" href="mailto:dnadavewa@yahoo.com">dnadavewa@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><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.&nbsp; Anywhere.&nbsp; I also did a search for cmake.exe and the only one available is the one in the cmake installation.&nbsp; I have version 2.8.4 installed.<br>
<br>Thanks!!<br><br>Dave H<br><div class="hm"><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt;"><div class="hm"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> David Cole &lt;<a rel="nofollow" ymailto="mailto:david.cole@kitware.com" target="_blank" href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt;<br>
<b><span style="font-weight:bold;">To:</span></b> David Henderson &lt;<a rel="nofollow" ymailto="mailto:dnadavewa@yahoo.com" target="_blank" href="mailto:dnadavewa@yahoo.com">dnadavewa@yahoo.com</a>&gt;<br><b><span style="font-weight:bold;">Cc:</span></b> <a rel="nofollow" ymailto="mailto:cmake@cmake.org" target="_blank" href="mailto:cmake@cmake.org">cmake@cmake.org</a><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></div><div><div></div><div class="h5"><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">&lt;<a rel="nofollow" ymailto="mailto:dnadavewa@yahoo.com" target="_blank" href="mailto:dnadavewa@yahoo.com">dnadavewa@yahoo.com</a>&gt;</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. &nbsp;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:&gt; 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>
 &nbsp;The C compiler "C:/Rtools/MinGW/bin/gcc.exe" is not able to compile a<br>
 &nbsp;simple test program.<br>
<br>
 &nbsp;It fails with the following output:<br>
<br>
 &nbsp; Change Dir:<br>
E:/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/CMakeFiles/CMakeTmp<br>
<br>
<br>
<br>
<br>
 &nbsp;Run Build Command:C:/Rtools/bin/make.exe "cmTryCompileExec/fast"<br>
<br>
 &nbsp;/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make<br>
 &nbsp;CMakeFiles/cmTryCompileExec.dir/build<br>
<br>
 &nbsp;make[1]: Entering directory<br>
 &nbsp;`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/<br>
CMakeFiles/CMakeTmp'<br>
<br>
<br>
 &nbsp;/C/CMake-2.8/bin/cmake.exe -E cmake_progress_report<br>
 &nbsp;/E/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/CMakeFiles<br>
/CMakeTmp/CMakeFiles<br>
 &nbsp;1<br>
<br>
 &nbsp;/C/CMake-2.8/bin/cmake.exe: not found<br>
<br>
 &nbsp;make[1]: Leaving directory<br>
 &nbsp;`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/<br>
CMakeFiles/CMakeTmp'<br>
<br>
<br>
 &nbsp;make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error<br>
 &nbsp;127<br>
<br>
 &nbsp;make: *** [cmTryCompileExec/fast] Error 2<br>
<br>
<br>
<br>
<br>
<br>
 &nbsp;CMake will not be able to correctly generate this project.<br>
Call Stack (most recent call first):<br>
 &nbsp;CMakeLists.txt:3 (project)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
<br>
E:&gt;<br>
<br>
<br>
<br>
cmake is in C:\CMake-2.8\bin, so why am I getting this error? &nbsp;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. &nbsp;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><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></span><br>
<br><span><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></span><br>
<br>
Follow this link to subscribe/unsubscribe:<br><span><span>
<a target="_blank" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></span></span><br>
</blockquote></div><br>
</div></div></div></div></div></div></blockquote></div><br></div>
</div></div>



</div></body></html>