Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] cmake does not identify boost

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] cmake does not identify boost


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] cmake does not identify boost
  • Date: Tue, 2 Feb 2010 13:40:34 +0100
  • Organization: GeometryFactory

On Tuesday 02 February 2010 13:02:48 Amir Vaxman wrote:
> Hello,
>
>
>
> I tried to compile CGAL 3.5.1 with cmake (2.6.3) after having installed and
> compiled boost 1.41.1. I noticed that the lib libraries directory structure
> in 1.41.1 does not match the one in 1.38.1, and therefore, cmake is not
> able to find it. I am not proficient with the cmake script, so I don't
> really know how to direct it to find the compiled boost libraries. Does
> CGAL support only the versions of boost that create the directory
> structure BOOSTROOT\lib? (instead of the new \BOOSTROOT\bin.v2.)

I am not sure. The FindBoost.cmake shipped within CGAL most mostly from CMake
(CGAL developers have tweaked it a bit, though). If I correclty read the
macro, the CMake macro FindBoost only search for *installed* Boost. Once you
have Boost compiled, you need to install it (use "bjam install"), so that its
layout is correctly detected by the CMake macro.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page