Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] incorrectly set BOOST_VERSION
- Date: Mon, 22 Mar 2010 20:59:56 +0100
- Organization: GeometryFactory
Le Lundi 22 Mars 2010 19:46:41, Edoardo Milotti a écrit :
> 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/lib
> boost_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.
I agree there could be a compilation problem in CGAL with Boost-1.42.
Which files have you modified?
--
Laurent Rineau, PhD
Release Manager of the CGAL Project http://www.cgal.org/
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
- [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.