Subject: CGAL users discussion list
List archive
- From: Philipp Möller <>
- To:
- Subject: Re: [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04
- Date: Mon, 22 Aug 2011 14:50:49 +0200
On 22 August 2011 14:11, mm
<>
wrote:
>
> Amy Tabb wrote:
>>
>> My opinion of how to fix your problem is to keep the newest version of
>> boost (at least 1.44), and then skip the Synaptic package manager version
>> of cgal and instead build it from source. In the cmake dialog, you can
>> manually point to the specific version of boost that you have, but when I
>> have installed it on Ubuntu there was no need to alter the libraries found
>> by cmake.
>>
>> Then you'll have the most up to date version of boost with the most up to
>> date version of cgal, the only negative being some long download and build
>> times.
>>
>
>
> Joachim Reichel wrote:
>>
>> If you don't want to/can't do that yourself there seem to be two options:
>> 1) Build CGAL yourself from source, as recommended by Amy.
>> 2) Use a newer CGAL package from Ubuntu oneiric or Debian squeeze (CGAL
>> 3.8 / Boost 1.46).
>>
>
> Hey Amy and Joachim, thanks for answering that fast! My response comes a bit
> late, but I was afk all weekend long.
>
> What both of you said makes total sense and I'd like to follow Amy's
> recommendation and compile CGAL from source and link against that.
> Unfortunately, it's not working. Setup is like this:
> 1) downloaded https://gforge.inria.fr/frs/download.php/28501/CGAL-3.8.tar.xz
> 2) unpacked and called cmake: only option changed is:
> CMAKE_INSTALL_PREFIX = /home/mm/.local/CGAL-3.8/
> as that's the place I keep my selfcompiled software.
> 3) open my project in cmake and set
> CGAL_DIR = /home/mm/.local/CGAL-3.8/lib/CGAL
> It's the only CGAL option and originally when I install CGAL through
> Synaptic, the folder /usr/lib/CGAL contains the same files, mostly *.cmake
> or *.in files.
> 4) compile my project and get error:
> /home/mm/code/src/cv/reflectance/illumestimators/gamutmapping/gamutmapping2destimator.cpp:14:64:
> fatal error: CGAL/Exact_predicates_inexact_constructions_kernel.h: No such
> file or directory
> compilation terminated.
> When I search for that file, I can find it in
> /home/mm/.local/CGAL-3.8/include/CGAL/Exact_predicates_inexact_constructions_kernel.h
> Any ideas what I am doing wrong?
>
It looks like you still need to adapt your compiler flags to the
changed CGAL location.
Have a look at the gcc manual here:
http://gcc.gnu.org/onlinedocs/gcc-4.4.3/gcc/Directory-Options.html#Directory-Options
Cheers,
Philipp
> Thanks for your help!
>
> --
> View this message in context:
> http://cgal-discuss.949826.n4.nabble.com/libboost-dependencies-in-Ubuntu-11-04-tp3755646p3759922.html
> Sent from the cgal-discuss mailing list archive at Nabble.com.
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
>
- [cgal-discuss] libboost dependencies in Ubuntu 11.04, mm, 08/19/2011
- Re: [cgal-discuss] libboost dependencies in Ubuntu 11.04, Amy Louise Tabb, 08/19/2011
- Re: [cgal-discuss] libboost dependencies in Ubuntu 11.04, Joachim Reichel, 08/19/2011
- [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, mm, 08/22/2011
- Re: [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, Philipp Möller, 08/22/2011
- [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, mm, 08/22/2011
- Re: [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, Laurent Rineau (GeometryFactory), 08/22/2011
- [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, mm, 08/22/2011
- Re: [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, Laurent Rineau (GeometryFactory), 08/22/2011
- [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, mm, 08/22/2011
- Re: [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, Philipp Möller, 08/22/2011
- [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, mm, 08/22/2011
- Re: [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, Joachim Reichel, 08/22/2011
- [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, mm, 08/22/2011
- Re: [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, Philipp Möller, 08/22/2011
- [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, mm, 08/22/2011
- Re: [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, Laurent Rineau (GeometryFactory), 08/22/2011
- [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, mm, 08/22/2011
- Re: [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04, Philipp Möller, 08/22/2011
Archive powered by MHonArc 2.6.16.