Subject: CGAL users discussion list
List archive
- From: PK Jao <>
- To:
- Subject: [cgal-discuss] CMake Problem
- Date: Sun, 13 Feb 2011 07:24:23 -0800 (PST)
Hi, I just get into CGAL, and I got a problem during cmake. I have searched
many similar thread for the solution of this problem, but none of them work.
I am having problem with finding boost library during CMake
My OS is win7, boost is 1.42.0, CGAL is 3.7, and CMake is 2.8.3. Each are
installed with an binary file.
During installing boost, I selected all variant and MSVC2008, although I am
not plan to use that if not necessarily.
I already set the BOOST_ROOT as C:\Program Files (x86)\boost\boost_1_42 and
Boost_LIBRARYDIR as C:\Program Files (x86)\boost\boost_1_42\lib in
user/system variable of environment variable.
The following is the original message generated from CMake gui.
CGAL_MAJOR_VERSION=3
CGAL_MINOR_VERSION=7
CGAL_BUILD_VERSION=
CGAL_SONAME_VERSION=6
CGAL_SOVERSION =6.0.0
CGAL_REFERENCE_CACHE_DIR=
Building static libraries
Targetting Borland Makefiles
Using C:/Program Files (x86)/CodeGear/RAD Studio/5.0/bin/bcc32.exe compiler.
USING CMake version: 2.8.3
System: Windows
Build type: Debug
USING CXXFLAGS = ' -tWM -Od -v'
USING LDFLAGS = ' '
GMP include: C:/Program Files (x86)/CGAL-3.7/auxiliary/gmp/include
GMP libraries: C:/Program Files
(x86)/CGAL-3.7/auxiliary/gmp/lib/libgmp-10.lib
GMP definitions:
WARNING: GMP found but could not compile print_GMP_version.cpp:
GMP_INCLUDE_DIR=C:/Program Files (x86)/CGAL-3.7/auxiliary/gmp/include
GMP_LIBRARIES=C:/Program Files
(x86)/CGAL-3.7/auxiliary/gmp/lib/libgmp-10.lib
GMP_LIBRARY_DIR=
Change Dir: D:/User/Desktop/TEMP/CMakeFiles/CMakeTmp
Run Build Command:make "cmTryCompileExec\fast"
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
make -f CMakeFiles\cmTryCompileExec.dir\build.make -l -o
CMakeFiles\cmTryCompileExec.dir\build
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E
cmake_progress_report D:\User\Desktop\TEMP\CMakeFiles\CMakeTmp\CMakeFiles 1
Building CXX object
CMakeFiles/cmTryCompileExec.dir/print_GMP_version.cpp.obj
C:\PROGRA~2\CodeGear\RADSTU~1\5.0\bin\bcc32.exe -tWR -tW-
@MAKE0000.@@@
CodeGear C++ 5.90 for Win32 Copyright (c) 1993, 2007 CodeGear
C:\Program Files (x86)\CGAL-3.7\config\support\print_GMP_version.cpp:
Warning W8041 C:\PROGRA~2\CGAL-3.7\AUXILI~1\gmp\include\gmp.h 2177: Negating
unsigned value in function __gmpn_neg(unsigned long *,const unsigned long
*,long)
Linking CXX executable cmTryCompileExec.exe
C:\PROGRA~2\CodeGear\RADSTU~1\5.0\bin\bcc32.exe -tWR -tW-
-ecmTryCompileExec.exe @MAKE0002.@@@
CodeGear C++ 5.90 for Win32 Copyright (c) 1993, 2007 CodeGear
Turbo Incremental Link 5.80 Copyright (c) 1997-2007 CodeGear
Error: 'C:\PROGRAM FILES (X86)\CGAL-3.7\AUXILIARY\GMP\LIB\LIBGMP-10.LIB'
contains invalid OMF record, type 0x21 (possibly COFF)
** error 1 ** deleting cmTryCompileExec.exe
** error 1 ** deleting cmTryCompileExec\fast
USING GMP_VERSION = 'unknown'
MPFR include: C:/Program Files (x86)/CGAL-3.7/auxiliary/gmp/include
MPFR libraries: C:/Program Files
(x86)/CGAL-3.7/auxiliary/gmp/lib/libmpfr-4.lib
MPFR definitions:
WARNING: MPFR found but could not compile print_MPFR_version.cpp:
MPFR_INCLUDE_DIR=C:/Program Files (x86)/CGAL-3.7/auxiliary/gmp/include
MPFR_LIBRARIES=C:/Program Files
(x86)/CGAL-3.7/auxiliary/gmp/lib/libmpfr-4.lib
MPFR_LIBRARY_DIR=
Change Dir: D:/User/Desktop/TEMP/CMakeFiles/CMakeTmp
Run Build Command:make "cmTryCompileExec\fast"
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
make -f CMakeFiles\cmTryCompileExec.dir\build.make -l -o
CMakeFiles\cmTryCompileExec.dir\build
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E
cmake_progress_report D:\User\Desktop\TEMP\CMakeFiles\CMakeTmp\CMakeFiles 1
Building CXX object
CMakeFiles/cmTryCompileExec.dir/print_MPFR_version.cpp.obj
C:\PROGRA~2\CodeGear\RADSTU~1\5.0\bin\bcc32.exe -tWR -tW-
@MAKE0000.@@@
CodeGear C++ 5.90 for Win32 Copyright (c) 1993, 2007 CodeGear
C:\Program Files (x86)\CGAL-3.7\config\support\print_MPFR_version.cpp:
Warning W8041 C:\PROGRA~2\CGAL-3.7\AUXILI~1\gmp\include\gmp.h 2177: Negating
unsigned value in function __gmpn_neg(unsigned long *,const unsigned long
*,long)
Linking CXX executable cmTryCompileExec.exe
C:\PROGRA~2\CodeGear\RADSTU~1\5.0\bin\bcc32.exe -tWR -tW-
-ecmTryCompileExec.exe @MAKE0002.@@@
CodeGear C++ 5.90 for Win32 Copyright (c) 1993, 2007 CodeGear
Turbo Incremental Link 5.80 Copyright (c) 1997-2007 CodeGear
Error: 'C:\PROGRAM FILES (X86)\CGAL-3.7\AUXILIARY\GMP\LIB\LIBGMP-10.LIB'
contains invalid OMF record, type 0x21 (possibly COFF)
** error 1 ** deleting cmTryCompileExec.exe
** error 1 ** deleting cmTryCompileExec\fast
USING MPFR_VERSION = 'unknown'
CMake Error at cmake/modules/FindBoost.cmake:917 (message):
Unable to find the requested Boost libraries.
Boost version: 1.42.0
Boost include path: C:/Program Files (x86)/boost/boost_1_42
The following Boost libraries could not be found:
boost_thread
No Boost libraries were found. You may need to set Boost_LIBRARYDIR to
the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/modules/CGAL_SetupBoost.cmake:12 (find_package)
cmake/modules/CGAL_SetupDependencies.cmake:18 (include)
CMakeLists.txt:237 (include)
Boost include: C:/Program Files (x86)/boost/boost_1_42
Boost libraries:
Boost definitions:
USING BOOST_VERSION = '1.42.0'
CMAKE_INSTALL_PREFIX=C:/Program Files (x86)/CGAL
Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR ZLIB_LIBRARY)
OpenGL include:
OpenGL libraries: import32;import32
NOTICE: CGAL_ImageIO needs ZLib to read compressed files. That feature will
not be activated.
CGAL_Qt3 needs Qt3, cannot be configured.
CGAL_Qt4 needs Qt4, cannot be configured.
Configuring incomplete, errors occurred!
Please Help Me, Thanks!
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CMake-Problem-tp3303713p3303713.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] CMake Problem, PK Jao, 02/13/2011
- [cgal-discuss] Re: CMake Problem, PK Jao, 02/14/2011
- Re: [cgal-discuss] Re: CMake Problem, Laurent Rineau (GeometryFactory), 02/14/2011
- Re:[cgal-discuss] Re: CMake Problem, 碰碰, 02/14/2011
- [cgal-discuss] Re: CMake Problem, PK Jao, 02/14/2011
Archive powered by MHonArc 2.6.16.