Subject: CGAL users discussion list
List archive
- From: Edoardo Milotti <>
- To:
- Subject: [cgal-discuss] incorrectly set BOOST_VERSION
- Date: Mon, 22 Mar 2010 19:46:41 +0100
I use CMake 2.8.0, Boost 1.42.0 (installed with MacPorts on MacOS X 10.6.2),
and I just installed CGAL 3.6. It seems that BOOST_VERSION is not properly
set by CMake, although CMake detects the correct Boost version. This is part
of the CMake output:
-- Boost version: 1.42.0
-- Found the following Boost libraries:
-- thread
-- Boost include: /opt/local/include
-- Boost libraries:
optimized;/opt/local/lib/libboost_thread-mt.dylib;debug;/opt/local/lib/libboost_thread-mt-d.dylib
-- Boost definitions:
-- USING BOOST_VERSION = '1.42.0'
The compile phase went smoothly and then I compiled the examples with "make
examples". Here the procedure halted because it could not find
boost/property_map.hpp. However the header files contain the preprocessor
statements
#if BOOST_VERSION >= 104000
#include <boost/property_map/property_map.hpp>
#else
#include <boost/property_map.hpp>
#endif
and <boost/property_map/property_map.hpp> does exist in my installation. So I
commented out part of the preprocessor code
//#if BOOST_VERSION >= 104000
#include <boost/property_map/property_map.hpp>
//#else
//#include <boost/property_map.hpp>
//#endif
wherever needed, and this fixed the problem.
Best wishes,
Edoardo Milotti
- [cgal-discuss] incorrectly set BOOST_VERSION, Edoardo Milotti, 03/22/2010
- Re: [cgal-discuss] incorrectly set BOOST_VERSION, Laurent Rineau (GeometryFactory), 03/22/2010
- [cgal-discuss] Patch against CGAL-3.6, to fix compilation problems with Boost-1.42, Laurent Rineau (GeometryFactory), 03/23/2010
- Re: [cgal-discuss] Patch against CGAL-3.6, to fix compilation problems with Boost-1.42, Marc Glisse, 03/23/2010
- Re: [cgal-discuss] Patch against CGAL-3.6, to fix compilation problems with Boost-1.42, Laurent Rineau (GeometryFactory), 03/23/2010
- Re: [cgal-discuss] Patch against CGAL-3.6, to fix compilation problems with Boost-1.42, Marc Glisse, 03/23/2010
- Re: [cgal-discuss] incorrectly set BOOST_VERSION, Edoardo Milotti, 03/23/2010
- Re: [cgal-discuss] incorrectly set BOOST_VERSION, Laurent Rineau (GeometryFactory), 03/23/2010
- Re: [cgal-discuss] incorrectly set BOOST_VERSION, Edoardo Milotti, 03/23/2010
- Re: [cgal-discuss] incorrectly set BOOST_VERSION, Laurent Rineau (GeometryFactory), 03/23/2010
- [cgal-discuss] Patch against CGAL-3.6, to fix compilation problems with Boost-1.42, Laurent Rineau (GeometryFactory), 03/23/2010
- Re: [cgal-discuss] incorrectly set BOOST_VERSION, Laurent Rineau (GeometryFactory), 03/22/2010
Archive powered by MHonArc 2.6.16.