[CMake] Cgal compilation and installation with CMake-Gui
Sonya Blade
sonyablade2010 at hotmail.com
Sun Jul 28 03:37:48 EDT 2013
Dear All,
I've been through a 2-3 days hassle with CGAL 4.2 installation and
compilation w/o success. I've read Installation Manual couple of
times in order to make sure that I exactly do what requires to be done.
Each installation location is default e.g. "C:/Program Files/CGAL-4.2"
I've Cmake-Gui 2.8.11.2 version I specify the source code directory and
output directory after this I specify the generator which is "MinGW Makefiles"
with "Use default native compilers". After these settings pressing the
"Configure" button generates the following errors what could be the reason of
these errors?
The CXX compiler identification is unknown
The C compiler identification is unknown
Check for working CXX compiler: C:/cygwin/bin/g++.exe
Check for working CXX compiler: C:/cygwin/bin/g++.exe -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "C:/cygwin/bin/g++.exe" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: D:/TEST_FOLDER_dell/CGAL_new/CMakeFiles/CMakeTmp
Run Build Command:c:/MinGW/bin/mingw32-make.exe
"cmTryCompileExec3548130826/fast"
c:/MinGW/bin/mingw32-make.exe -f
CMakeFiles\cmTryCompileExec3548130826.dir\build.make
CMakeFiles/cmTryCompileExec3548130826.dir/build
mingw32-make.exe[1]: Entering directory
'D:/TEST_FOLDER_dell/CGAL_new/CMakeFiles/CMakeTmp'
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
D:\TEST_FOLDER_dell\CGAL_new\CMakeFiles\CMakeTmp\CMakeFiles 1
First of all why Cmake directly chooses to use the g++ compiler resting at the
"C:/cygwin/bin/g++.exe" isntead of g++ resting at "C:\MinGW\bin"
Regards,
More information about the CMake
mailing list