Skip to Content.
Sympa Menu

cgal-discuss - Problem with Nef Polyhedron

Subject: CGAL users discussion list

List archive

Problem with Nef Polyhedron


Chronological Thread 
  • From:
  • To:
  • Subject: Problem with Nef Polyhedron
  • Date: Tue, 30 Jan 2007 11:00:15 +0100

Hello!

I am a new user of CGAL and I have problems now with Nef polyhedra.
I work on windows XP with visual studio 2003.
I used CGAL to work with polyhedron without problems of compilation or
execution.
But when I try to compile a program wich include "Nef_polyhedron_3.h" I have
always the same error:

C:\Program Files\CGAL-3.2.1\include\CGAL\Nef_S2\SM_overlayer.h(351) : error
C2059: erreur de syntaxe : 'constant'

C:\Program Files\CGAL-3.2.1\include\CGAL\Nef_S2\SM_overlayer.h(607) : voir la
référence à l'instanciation du modèle de classe 'CGAL::SM_overlayer' en cours
de compilation

C:\Program Files\CGAL-3.2.1\include\CGAL\Nef_S2\SM_overlayer.h(351) : error
C2238: jetons inattendus avant ';'


I have these errors even if I try to compile a simple program like one in the
cgal manual like:

// file: examples/Nef_3/simple.C

#include <CGAL/Gmpz.h>
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_polyhedron_3.h>

typedef CGAL::Homogeneous<CGAL::Gmpz> Kernel;
typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron;

int main() {
Nef_polyhedron N0(Nef_polyhedron::EMPTY);
Nef_polyhedron N1(Nef_polyhedron::COMPLETE);

CGAL_assertion (N0 == N1.complement());
return 0;
}

I tried to replace the file "SM_overlayer.h" without results.
I did not find an idea of solutions in the archive of mailing list.

Any help that can be offered will be greatly appreciated.

Thanks,

Manuel GRIZONNET



  • Problem with Nef Polyhedron, manuel . grizonnet, 01/30/2007

Archive powered by MHonArc 2.6.16.

Top of Page