The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=11315 
====================================================================== 
Reported By:                Adam J Richardson
http://www.vtk.org/Bug/view.php?id=2
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11315
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-10-15 06:23 EDT
Last Modified:              2010-10-15 06:23 EDT
====================================================================== 
Summary:                    g++.exe: CreateProcess: No such file or directory
Description: 
See also bug 0009286.

On my Windows XP system, the command:

make VERBOSE=1 all

gets me:

C:\Programs\CMake28\bin\cmake.exe
-HC:\Users\buildbot\Reu2\bin\bga120\build\Reu2
-BC:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmake --check-build-system
CMakeFiles\Makefile.cmake 0
C:\Programs\CMake28\bin\cmake.exe -E cmake_progress_start
C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmake\CMakeFiles
C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmake\CMakeFiles\progress.marks
make -f CMakeFiles\Makefile2 all
make[1]: Entering directory
`C:/Users/buildbot/Reu2/bin/bga120/build/Reu2/cmake'
make -f SmallTestLib\CMakeFiles\SmallTestLib.dir\build.make
SmallTestLib/CMakeFiles/SmallTestLib.dir/depend
make[2]: Entering directory
`C:/Users/buildbot/Reu2/bin/bga120/build/Reu2/cmake'
C:\Programs\CMake28\bin\cmake.exe -E cmake_depends "MinGW Makefiles"
C:\Users\buildbot\Reu2\bin\bga120\build\Reu2
C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\SmallTestLib
C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmake
C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmake\SmallTestLib
C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmake\SmallTestLib\CMakeFiles\SmallTestLib.dir\DependInfo.cmake
--color=
make[2]: Leaving directory
`C:/Users/buildbot/Reu2/bin/bga120/build/Reu2/cmake'
make -f SmallTestLib\CMakeFiles\SmallTestLib.dir\build.make
SmallTestLib/CMakeFiles/SmallTestLib.dir/build
make[2]: Entering directory
`C:/Users/buildbot/Reu2/bin/bga120/build/Reu2/cmake'
C:\Programs\CMake28\bin\cmake.exe -E cmake_progress_report
C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmake\CMakeFiles 17
[  2%] Building CXX object
SmallTestLib/CMakeFiles/SmallTestLib.dir/src/SmallTestLib.cc.obj
cd C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmake\SmallTestLib &&
C:\Programs\MinGW\bin\g++.exe   -DSmallTestLib_EXPORTS -Wwrite-strings
-std=c++0x -pedantic-errors -pedantic -Wall -W -Weffc++ -Wmain -Wextra
-DBUILD_DLL -Wno-long-long -Wno-comment -g -gdwarf-2   -o
CMakeFiles\SmallTestLib.dir\src\SmallTestLib.cc.obj -c
C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\SmallTestLib\src\SmallTestLib.cc
make[2]: Leaving directory
`C:/Users/buildbot/Reu2/bin/bga120/build/Reu2/cmake'
make[1]: Leaving directory
`C:/Users/buildbot/Reu2/bin/bga120/build/Reu2/cmake'
g++.exe: CreateProcess: No such file or directory
make[2]: ***
[SmallTestLib/CMakeFiles/SmallTestLib.dir/src/SmallTestLib.cc.obj] Error 1
make[1]: *** [SmallTestLib/CMakeFiles/SmallTestLib.dir/all] Error 2
make: *** [all] Error 2

Copy-and-pasting the commands into the same command prompt (and editing
only to remove the prompt and word wrapping), they work fine.

The compiler suite is known to work, it is installed properly and its
binaries are in the path. It is used regularly with the Code::Blocks IDE
and works without problems.

I'm not sure why CMake is failing to call the compiler on this system. Any
thoughts?

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-15 06:23 Adam J Richardson #2New Issue                                  
 
======================================================================

_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to