The cmake build using MinGW 32 bit is failing.
The OS is Win 7 64 bit.
Our build using cmake and Visual Studio 10 is successful.
We reduced the path to a minimum, to prevent possible interactions with other
software.
We deleted the cmake_install.cmake, and CMakeCache files, and the build
directory before running cmake.
The screen echo from a build is in the attached file.
Are there suggestions for next steps in debugging this problem?
Thank You
Bob
Robert N. Havis
Forest Management Service Center
2150 Centre Ave., Bldg. A, Suite 341A
Fort Collins, Colorado 80526-1891
Phone: 970/295-5768
Fax: 970/295-5755
[email protected]<mailto:[email protected]>
This electronic message contains information generated by the USDA solely for
the intended recipients. Any unauthorized interception of this message or the
use or disclosure of the information it contains may violate the law and
subject the violator to civil or criminal penalties. If you believe you have
received this message in error, please notify the sender and delete the email
immediately.
CC:\FVS\open-fvs\trunk\MinGWtest\bin>cmake -debug-output -G"MinGW Makefiles" .
-- Building FVS with MinGW
-- tobuild = C:/FVS/open-fvs/trunk/MinGWtest/bin/FVSiec_sourceList.txt
-- Building FVS variant with MinGW
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- The Fortran compiler identification is GNU
-- Check for working C compiler: c:/MinGW/bin/gcc.exe
-- Check for working C compiler: c:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "c:/MinGW/bin/gcc.exe" is not able to compile a simple test
program.
It fails with the following output:
Change Dir:
C:/FVS/open-fvs/trunk/MinGWtest/bin/FVSiec_CmakeDir/CMakeFiles/CMakeTmp
Run Build Command:c:/MinGW/bin/mingw32-make.exe
"cmTryCompileExec3590497270/fast"
c:/MinGW/bin/mingw32-make.exe -f
CMakeFiles\cmTryCompileExec3590497270.dir\build.make
CMakeFiles/cmTryCompileExec3590497270.dir/build
mingw32-make.exe[1]: Entering directory
'C:/FVS/open-fvs/trunk/MinGWtest/bin/FVSiec_CmakeDir/CMakeFiles/CMakeTmp'
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
C:\FVS\open-fvs\trunk\MinGWtest\bin\FVSiec_CmakeDir\CMakeFiles\CMakeTmp\CMakeFiles
1
process_begin:
CreateProcess(C:\Users\rhavis\AppData\Local\Temp\1\make9516-1.bat,
C:\Users\rhavis\AppData\Local\Temp\1\make9516-1.bat, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make.exe[1]: ***
[CMakeFiles/cmTryCompileExec3590497270.dir/testCCompiler.c.obj] Error 2
CMakeFiles\cmTryCompileExec3590497270.dir\build.make:59: recipe for target
'CMakeFiles/cmTryCompileExec3590497270.dir/testCCompiler.c.obj' failed
mingw32-make.exe[1]: Leaving directory
'C:/FVS/open-fvs/trunk/MinGWtest/bin/FVSiec_CmakeDir/CMakeFiles/CMakeTmp'
Makefile:116: recipe for target 'cmTryCompileExec3590497270/fast' failed
mingw32-make.exe: *** [cmTryCompileExec3590497270/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:19 (project)
-- Configuring incomplete, errors occurred!
-- Configuring done
-- Generating done
-- Build files have been written to: C:/FVS/open-fvs/trunk/MinGWtest/bin
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake