Somehow, you have a cygwin make getting involved...
This only comes from cygwin:
make[2]: Entering directory
>
`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/
> CMakeFiles/CMakeTmp'
Since the make program is spitting out /cygdrive/e, it must be a cygwin
build of make...
-Bill
On 5/3/2011 2:52 PM, David Henderson wrote:
Here's the complete output of trying to build my package using the cmd
tool from Qt:
Setting up environment for Qt usage...
Setting up environment for Qt usage...
C:\Windows\system32>e:
E:\>cd workspace\GSDesignGUI\package
E:\workspace\GSDesignGUI\package>R CMD build --binary gsDesignExplorer
--binary is deprecated
* checking for file 'gsDesignExplorer/DESCRIPTION' ... OK
* preparing 'gsDesignExplorer':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
Removed empty directory
'gsDesignExplorer/explorergui-build/CMakeFiles/CMakeTmp/
CMakeFiles/cmTryCompileExec.dir'
Removed empty directory
'gsDesignExplorer/explorergui-build/CMakeFiles/CMakeTmp/
CMakeFiles'
Removed empty directory
'gsDesignExplorer/explorergui-build/CMakeFiles/CMakeTmp'
Removed empty directory
'gsDesignExplorer/src/CMakeFiles/CMakeTmp/CMakeFiles/cmT
ryCompileExec.dir'
Removed empty directory
'gsDesignExplorer/src/CMakeFiles/CMakeTmp/CMakeFiles'
Removed empty directory 'gsDesignExplorer/src/CMakeFiles/CMakeTmp'
Removed empty directory
'gsDesignExplorer/src-build/CMakeFiles/CMakeTmp/CMakeFil
es/cmTryCompileExec.dir'
Removed empty directory
'gsDesignExplorer/src-build/CMakeFiles/CMakeTmp/CMakeFil
es'
Removed empty directory 'gsDesignExplorer/src-build/CMakeFiles/CMakeTmp'
* building binary distribution
* installing *source* package 'gsDesignExplorer' ...
** libs
running src/Makefile.win ...
mkdir -p ../explorergui-build; \
cd ../explorergui-build; \
cmake -G "MSYS Makefiles" ../src/explorergui
-DR_LIBRARIES="-LC:/PROGRA~1/R/R-21
3~1.0/bin/i386 -lR" \
-DR_INCLUDES=C:/PROGRA~1/R/R-213~1.0/include
-DCMAKE_INSTALL_PREFIX=../inst/libs
/; \
LD_LIBRARY_PATH=../inst/libs/; \
make install; \
mkdir -p ../src-build; \
cd ../src-build; \
cmake -G "MSYS Makefiles" ../src
-DR_LIBRARIES="-LC:/PROGRA~1/R/R-213~1.0/bin/i3
86 -lR" \
-DR_INCLUDES=C:/PROGRA~1/R/R-213~1.0/include -DCMAKE_INSTALL_PREFIX=../src \
-DLD_LIBRARY_PATH=../inst/libs/; \
make install
-- CMAKE_MODULE_PATH:
-- CMAKE_ROOT: C:/CMake-2.8/share/cmake-2.8
-- CMAKE_COMMAND: C:/CMake-2.8/bin/cmake.exe
-- ENV{PATH}:
C:\PROGRA~1\R\R-213~1.0\bin\i386C:\PROGRA~1\R\R-213~1.0\bin\i386C:
\QtSDK\Desktop\Qt\4.7.3\mingw\binC:\QtSDK\mingw\binC:\QtSDK\Desktop\Qt\4.7.3\min
gw\binC:\QtSDK\mingw\binC:\CMake-2.8\binC:\Program
Files\R\R-2.13.0\bin%CommonPr
ogramFiles%\Microsoft Shared\Windows
LiveC:\Rtools\binC:\Rtools\MinGW\binC:\Rtoo
ls\MinGW64\binC:\Windows\system32C:\WindowsC:\Windows\System32\WbemC:\Windows\Sy
stem32\WindowsPowerShell\v1.0C:\Program Files\Common Files\Microsoft
Shared\Wind
ows LiveC:\CMake-2.6\bin
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: C:/QtSDK/mingw/bin/gcc.exe
-- Check for working C compiler: C:/QtSDK/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:/QtSDK/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-bui
ld/CMakeFiles/CMakeTmp
Run Build Command:C:/Rtools/bin/make.exe "cmTryCompileExec/fast"
make[1]: Entering directory
`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/
CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
make[2]: 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
makemake[2]: Leaving directory
`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/
CMakeFiles/CMakeTmp'
[2]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error 127
makemake[1]: Leaving directory
`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/explorergui-build/
CMakeFiles/CMakeTmp'
[1]: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:8 (project)
-- Configuring incomplete, errors occurred!
make[1]: *** No rule to make target `install'. Stop.
-- 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/src/CMakeFiles/
CMakeTmp
Run Build Command:c:/Rtools/bin/make.exe "cmTryCompileExec/fast"
make[1]: Entering directory
`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/CMa
keTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
make[2]: Entering directory
`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/CMa
keTmp'
/C/CMake-2.8/bin/cmake.exe -E cmake_progress_report
/E/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/CMakeTmp/CMak
eFiles
1
/C/CMake-2.8/bin/cmake.exe: not found
make[2]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error
127
make[2]: Leaving directory
`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/CMa
keTmp'
make[1]: *** [cmTryCompileExec/fast] Error 2
make[1]: Leaving directory
`/cygdrive/e/workspace/GSDesignGUI/package/gsDesignExplorer/src/CMakeFiles/CMa
keTmp'
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
make[1]: *** No rule to make target `install'. Stop.
make: *** [all] Error 2
ERROR: compilation failed for package 'gsDesignExplorer'
* removing
'C:/Users/dnadave/AppData/Local/Temp/RtmpBZmJef/Rinst3c921d9d/gsDesig
nExplorer'
ERROR
Installation failed
E:\workspace\GSDesignGUI\package>
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...
Dave H
------------------------------------------------------------------------
*From:* David Cole <[email protected]>
*To:* David Henderson <[email protected]>
*Cc:* [email protected]
*Sent:* Tue, May 3, 2011 3:25:19 AM
*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 <[email protected]
<mailto:[email protected]>> 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 <[email protected]
<mailto:[email protected]>>
*To:* David Henderson <[email protected] <mailto:[email protected]>>
*Cc:* [email protected] <mailto:[email protected]>
*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
<[email protected] <mailto:[email protected]>> 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
[email protected]
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
_______________________________________________
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