Subject: CGAL users discussion list
List archive
- From: Cesar Xavier <>
- To:
- Subject: [cgal-discuss] Problem building CGAL 3.4 with CMake 2.6-patch2
- Date: Mon, 9 Mar 2009 19:48:43 -0300
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IJ7zAAedjCJFyHUDDuhCOHyQCUIVhn0iwNFKOUBW8+TnkKrYfWcTTvjFXEmclKXZLV 5f1nkDzhxPbCklU7OnNQlvm0JWI6+xL/P39WbsUSwy3LBBbbK5/Fh5hsyg4XwHpNx/b5 TjnEeE+m8Ng6hn4ljQ1IiZktM/VU2qOFPphLQ=
Hi, as a novice, I'm finding some trouble when building CGAL3.4 on XP system using CMake2.6-patch 2 under Microsoft Visual C++ 2008 Express Edition with SP1 - ENU...
The first major problem seems to be the Boost library...
According to the online installation manual, I've just setup boost directories, but somehow the compilation is not working properly. Data regarding to boost, extracted from the CMakeCache.txt might be seen below:
================================================================
//Missing description
BOOST_INCLUDEDIR:PATH=C:/Arquivos de programas/boost/boost_1_37
//Missing description
BOOST_LIBRARYDIR:PATH=C:/Arquivos de programas/boost/boost_1_37/lib
//Missing description
BOOST_ROOT:PATH=C:/Arquivos de programas/boost/boost_1_37
//Path to a file.
Boost_INCLUDE_DIR:PATH=C:/Arquivos de programas/boost/boost_1_37
//Missing description
Boost_LIBRARYDIR:PATH=C:/Arquivos de programas/boost/boost_1_37/lib
//Boost library directory
Boost_LIBRARY_DIRS:FILEPATH=C:/Arquivos de programas/boost/boost_1_37/lib
//Boost diagnostic define
Boost_LIB_DIAGNOSTIC_DEFINITIONS:STRING=-DBOOST_LIB_DIAGNOSTIC
//Path to a library.
Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG:FILEPATH=Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG-NOTFOUND
//Path to a library.
Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE:FILEPATH=Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE-NOTFOUND
//The Boost THREAD library
Boost_THREAD_LIBRARY:FILEPATH=optimized;C:/Arquivos de programas/boost/boost_1_37/lib/libboost_thread-vc90-mt-1_37.lib;debug;C:/Arquivos de programas/boost/boost_1_37/lib/libboost_thread-vc90-mt-gd-1_37.lib
//Path to a library.
Boost_THREAD_LIBRARY_DEBUG:FILEPATH=C:/Arquivos de programas/boost/boost_1_37/lib/libboost_thread-vc90-mt-gd-1_37.lib
//Path to a library.
Boost_THREAD_LIBRARY_RELEASE:FILEPATH=C:/Arquivos de programas/boost/boost_1_37/lib/libboost_thread-vc90-mt-1_37.lib
//Use the multithreaded versions of the Boost libraries
Boost_USE_MULTITHREADED:BOOL=ON
Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1
//Advanced flag for variable: Boost_LIBRARY_DIRS
Boost_LIBRARY_DIRS-ADVANCED:INTERNAL=1
//The library version string for boost libraries
Boost_LIB_VERSION:INTERNAL=1_37
//Advanced flag for variable: Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG
Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE
Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//Whether the Boost THREAD library found
Boost_THREAD_FOUND:INTERNAL=ON
//Advanced flag for variable: Boost_THREAD_LIBRARY
Boost_THREAD_LIBRARY-ADVANCED:INTERNAL=1
//Advanced flag for variable: Boost_THREAD_LIBRARY_DEBUG
Boost_THREAD_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//Advanced flag for variable: Boost_THREAD_LIBRARY_RELEASE
Boost_THREAD_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//Advanced flag for variable: Boost_USE_MULTITHREADED
Boost_USE_MULTITHREADED-ADVANCED:INTERNAL=1
//The version number for boost libraries
Boost_VERSION:INTERNAL=103700
CGAL_3RD_PARTY_INCLUDE_DIRS:INTERNAL=C:/Arquivos de programas/CGAL-3.4/auxiliary/gmp/include;C:/Arquivos de programas/CGAL-3.4/auxiliary/gmp/include;C:/Arquivos de programas/boost/boost_1_37
CGAL_3RD_PARTY_LIBRARIES_DIRS:INTERNAL=C:/Arquivos de programas/CGAL-3.4/auxiliary/gmp/lib;C:/Arquivos de programas/CGAL-3.4/auxiliary/gmp/lib;C:/Arquivos de programas/boost/boost_1_37/lib
=====================================================================
And here's the pos-configure output:
=====================================================================
CGAL_MAJOR_VERSION=3
CGAL_MINOR_VERSION=4
CGAL_BUILD_VERSION=
CGAL_SONAME_VERSION=3
CGAL_SOVERSION =3.0.0
CGAL_REFERENCE_CACHE_DIR=
Building static libraries
Targetting Visual Studio 9 2008
Target build enviroment supports auto-linking
Using VC90 compiler.
Generator uses intermediate configuration directory: $(OutDir)
USING CMake version: 2.6.2
System: Windows
Build type: Release
USING CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /MD /O2 /Ob2 /D NDEBUG -D_SECURE_SCL=0'
USING LDFLAGS = ' '
GMP include: C:/Arquivos de programas/CGAL-3.4/auxiliary/gmp/include
GMP libraries:
GMP definitions:
USING GMP_VERSION = '4.2.4'
MPFR include: C:/Arquivos de programas/CGAL-3.4/auxiliary/gmp/include
MPFR libraries:
MPFR definitions:
USING MPFR_VERSION = '2.3.2'
Boost include: C:/Arquivos de programas/boost/boost_1_37
Boost libraries: optimized;C:/Arquivos de programas/boost/boost_1_37/lib/libboost_thread-vc90-mt-1_37.lib;debug;C:/Arquivos de programas/boost/boost_1_37/lib/libboost_thread-vc90-mt-gd-1_37.lib
Boost definitions:
USING BOOST_VERSION = '1.37.0'
CMAKE_INSTALL_PREFIX=C:/Arquivos de programas/CGAL
OpenGL include:
OpenGL libraries: glu32;opengl32
USING ZLIB_VERSION = '1.2.3'
ZLib include: C:/Arquivos de programas/CGAL-3.4/zlib/include
ZLib libraries: C:/Arquivos de programas/CGAL-3.4/zlib/lib/zdll.lib
CGAL_Qt4 needs Qt4, cannot be configured.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Alpha_shapes_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Alpha_shapes_3 demo
NOTICE: This demo requires CGAL, the QGLViewer, OpenGL and Qt4, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Apollonius_graph_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Arrangement_on_surface_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Boolean_set_operations_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Circular_kernel_2 demo
NOTICE: This demo requires CGAL and Qt4, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Circular_kernel_3 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires Qt3 and the CGAL Qt3 library, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Convex_hull_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Convex_hull_3 demo
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Convex_hull_d demo
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Envelope_3 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Generator demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Geomview demo
Configuring C:/Arquivos de programas/CGAL-3.4/demo/GraphicsView demo
NOTICE: This demo requires CGAL and Qt4, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Interpolation demo
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Kinetic_data_structures demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires Qt3 and the CGAL Qt3 library, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Largest_empty_rect_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Matrix_search demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Mesh_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Min_circle_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Min_ellipse_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Min_quadrilateral_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Nef_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Nef_3 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Nef_S2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/PDB demo
CMake Error at cmake/modules/FindBoost.cmake:613 (message):
Unable to find the requested Boost libraries.
Boost version: 1.37.0
Boost include path: C:/Arquivos de programas/boost/boost_1_37
The following Boost libraries could not be found:
boost_program_options
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):
demo/PDB/CMakeLists.txt:16 (find_package)
NOTICE: This demo requires PDB and Boost program_options, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Partition_2 demo
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Polygon demo
NOTICE: This demo requires CGAL, CGAL_Core, and Qt4, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Polyhedron demo
NOTICE: This demo requires QGLViewer, Qt4, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Polyhedron_IO demo
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Robustness demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Segment_Delaunay_graph_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL,, Core, and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Snap_rounding_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Spatial_searching demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Straight_skeleton_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Stream_lines_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL, Qt3, and OpenGL, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Surface_mesher demo
NOTICE: This demo needs libQGLViewer, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Triangulation_2 demo
NOTICE: This demo requires CGAL and Qt4, and will not be compiled.
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Triangulation_3 demo
Configuring C:/Arquivos de programas/CGAL-3.4/demo/Voronoi_diagram_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring incomplete, errors occurred!
=====================================================================================
I have Qt4 built with mingw32, not with the Microsoft Visual C++ 2008 Express Edition, where all examples are working perfectly. Am I suppose to delete all CMake QT3 entries and insert new QT4 entries? In Cmake, Simple View option, I've set true the WITH_CGAL_Qt4 and false WITH_CGAL_Qt3. What can I do to fix these errors?
Thanks a lot,
Cesar.
--
O maior castigo para aqueles que não se interessam por política é que serão governados pelos que se interessam. (Arnold Toynbee)
- [cgal-discuss] Problem building CGAL 3.4 with CMake 2.6-patch2, Cesar Xavier, 03/09/2009
- Re: [cgal-discuss] Problem building CGAL 3.4 with CMake 2.6-patch2, alexa alexandra, 03/09/2009
- Re: [cgal-discuss] Problem building CGAL 3.4 with CMake 2.6-patch2, Cesar Xavier, 03/10/2009
- Re: [cgal-discuss] Problem building CGAL 3.4 with CMake 2.6-patch2, alexa alexandra, 03/09/2009
Archive powered by MHonArc 2.6.16.