Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] question on Installation on unix

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] question on Installation on unix


Chronological Thread 
  • From: Joachim Reichel <>
  • To:
  • Subject: Re: [cgal-discuss] question on Installation on unix
  • Date: Sun, 08 Feb 2009 17:33:11 +0100

Hi Hanjun,

> Actually, it was installed by computer staff in my department. So, now
> we have 3.4 installed, but it still doesn't work. We installed using
> debian package, but it still doesn't work.
>
> I tried the following code
> ==================
[...]

> ====================
>
> I compiled this using the command
> $g++ abc.cpp -o abc.out

First of all, you need to link with the CGAL libraries. In this example,
"-lCGAL" is sufficient. Second, you need the g++ option -frounding-math.

> and the error is
> ==================
> abc.cpp:1:64: error:
> CGAL/Exact_predicates_inexact_constructions_kernel.h: No such file or
> directory
[...]
> ==================

The file /usr/include/CGAL/Exact_predicates_inexact_constructions_kernel.h is
missing. It seems your admins just installed "libcgal3" and missed the
"libcgal-dev" package (maybe also the "libcgal-demo" package).

Joachim



Archive powered by MHonArc 2.6.16.

Top of Page