Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss]  CGAL 3.4 - Simple program not comp iles

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss]  CGAL 3.4 - Simple program not comp iles


Chronological Thread 
  • From: Peter Hachenberger <>
  • To:
  • Subject: Re: [cgal-discuss]  CGAL 3.4 - Simple program not comp iles
  • Date: Thu, 16 Apr 2009 11:11:41 +0200
  • Importance: Normal
  • Sensitivity:

That's because you use gmpq with Extended_homogeneous. This kernel expects
an integral number type like gmpz.

Peter
-----"Max" <> wrote: -----

To: <>
From: "Max" <>
Date: 04/03/2009 05:09AM
Subject: [cgal-discuss] CGAL 3.4 - Simple program not compiles

Hello,

The following simple program does not compile. I'm using VC2008SP1
under WinXP/SP1.

#include <CGAL/Extended_homogeneous.h>
#include <CGAL/Gmpq.h>
#include <CGAL/Nef_polyhedron_3.h>

typedef CGAL::Extended_homogeneous<CGAL::Gmpq> Kernel;

typedef CGAL::Nef_polyhedron_3<Kernel>     Nef_polyhedron_3;
typedef CGAL::Plane_3<Kernel>     Plane_3;


int _tmain(int argc, _TCHAR* argv[])
{
     Nef_polyhedron_3 N;          // w/o this line, it compiles well
       return 0;
}

Thanks for any help.

B/Rgds
Max




--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss




Archive powered by MHonArc 2.6.16.

Top of Page