MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0011315 | CMake | CMake | public | 2010-10-15 06:23 | 2016-06-10 14:31 |
Reporter | Adam J Richardson #2 | ||||
Assigned To | Bill Hoffman | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-8 | ||||
Target Version | Fixed in Version | ||||
Summary | 0011315: 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? | ||||
Steps To Reproduce | |||||
Additional Information | N:\Fossils>g++ --version g++ (GCC) 4.5.1 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I'm not sure if it's related, but I have to specify the "MinGW Makefiles" generator when I run cmake for the first time. It won't auto-detect the compiler. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-10-15 06:23 | Adam J Richardson #2 | New Issue | |||
2010-10-15 08:20 | Bill Hoffman | Note Added: 0022495 | |||
2010-10-15 08:20 | Bill Hoffman | Status | new => assigned | ||
2010-10-15 08:20 | Bill Hoffman | Assigned To | => Bill Hoffman | ||
2010-10-18 04:38 | Adam J Richardson #2 | Note Added: 0022514 | |||
2010-10-18 07:33 | Adam J Richardson #2 | Note Added: 0022515 | |||
2010-10-18 07:40 | Adam J Richardson #2 | Note Added: 0022516 | |||
2010-10-18 08:00 | Adam J Richardson #2 | Note Edited: 0022515 | |||
2010-10-18 08:00 | Adam J Richardson #2 | Note Deleted: 0022516 | |||
2010-10-18 09:04 | Bill Hoffman | Note Added: 0022517 | |||
2010-10-18 09:42 | Adam J Richardson #2 | Note Added: 0022519 | |||
2010-10-18 09:58 | Adam J Richardson #2 | Note Edited: 0022519 | |||
2010-10-21 11:58 | Adam J Richardson #2 | Note Edited: 0022515 | |||
2010-10-21 12:02 | Adam J Richardson #2 | Note Added: 0022582 | |||
2010-10-21 12:05 | Adam J Richardson #2 | Note Edited: 0022582 | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0041753 | |||
2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|