Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Problem compiling with CGAL-3.2.1 under Linux

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Problem compiling with CGAL-3.2.1 under Linux


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Problem compiling with CGAL-3.2.1 under Linux
  • Date: Tue, 12 Dec 2006 07:20:22 +0100

Jeronymo Peixoto Athayde Pereira wrote:
Hi,

I have been using Exact_predicates_exact_constructions_kernel with CGAL-3.0.1
without problems. Recently, I have switched to CGAL-3.2.1 and my code does
not compile any more.

The part of the code that does not compile is as follows

.
.

#include <CGAL/Exact_predicates_exact_constructions_kernel.h>

.
.

typedef CGAL::Exact_predicates_exact_constructions_kernel<double> Kernel;

Remove the <double> as it IS NOT a template, just as the compiler says.
And then let's have a look at the next error mesages.

andreas





The compiler issues the following error message

buildcrack_cgal.h:115:* error:
CGAL::Exact_predicates_exact_constructions_kernel is not a template*

I took a look at the CGAL/Exact_predicates_exact_constructions_kernel.h in
which we have

typedef Filtered_kernel<Simple_cartesian<Lazy_exact_nt<Quotient<MP_Float> > >
>
Exact_predicates_exact_constructions_kernel;

So, I tried:

#include <CGAL/Simple_cartesian.h>
#include <CGAL/Filtered_kernel.h>
#include <CGAL/Lazy_exact_nt.h>
typedef
CGAL::Filtered_kernel<CGAL::Simple_cartesian<CGAL::Lazy_exact_nt<CGAL::Quotient<realType>
> > > Kernel

It works but it does not compile other parts of the code.
I also tried to compile with Simple_Cartesian and it compiles without
problems but I need to used Exact_predicates_exact_constructions_kernel in my
code.

By the way, I am using *g++ (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux).

*Does anyone know why I'm having this problem?

Thanks a lot!

JP







Archive powered by MHonArc 2.6.16.

Top of Page