Skip to Content.
Sympa Menu

cgal-discuss - Problem compiling with CGAL-3.2.1 under Linux

Subject: CGAL users discussion list

List archive

Problem compiling with CGAL-3.2.1 under Linux


Chronological Thread 
  • From: Jeronymo Peixoto Athayde Pereira <>
  • To:
  • Subject: Problem compiling with CGAL-3.2.1 under Linux
  • Date: Mon, 11 Dec 2006 18:21:46 -0600

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;


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