Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: libboost dependencies in Ubuntu 11.04


Chronological Thread 
  • From: mm <>
  • To:
  • Subject: [cgal-discuss] Re: libboost dependencies in Ubuntu 11.04
  • Date: Mon, 22 Aug 2011 05:11:36 -0700 (PDT)


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?

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.



Archive powered by MHonArc 2.6.16.

Top of Page