Skip to Content.
Sympa Menu

cgal-discuss - RE:  [cgal-discuss]  CGAL 3.4 - Simple program not c ompiles

Subject: CGAL users discussion list

List archive

RE:  [cgal-discuss]  CGAL 3.4 - Simple program not c ompiles


Chronological Thread 
  • From: "Max" <>
  • To: <>
  • Subject: RE:  [cgal-discuss]  CGAL 3.4 - Simple program not c ompiles
  • Date: Fri, 17 Apr 2009 09:25:23 +0800

Hello Peter,

 

Thanks for your reply.

 

It's my fault. What's the rationale behind the curtain?

Sorry if this is a low level question.

 

B/Rgds

Max

 

From: Peter Hachenberger [mailto:]
Sent: Thursday, April 16, 2009 5:12 PM
To:
Subject: Re: [cgal-discuss] CGAL 3.4 - Simple program not compiles

 

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