Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] Compiler doesn't identify "Triangulation_vertex_base_2"

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] Compiler doesn't identify "Triangulation_vertex_base_2"


Chronological Thread 
  • From: "Amir Vaxman" <>
  • To: <>
  • Subject: RE: [cgal-discuss] Compiler doesn't identify "Triangulation_vertex_base_2"
  • Date: Sat, 11 Apr 2009 16:19:02 +0300

I forgot to say that “EKernel” is “simple_cartesian<CGAL::gmpq>”

 

Amir.

 

From: Amir Vaxman [mailto:]
Sent: Saturday, April 11, 2009 4:07 PM
To:
Subject: [cgal-discuss] Compiler doesn't identify "Triangulation_vertex_base_2"

 

Hello,

 

I am trying to compile the following program. I get the message:

 

“error C2146: syntax error : missing ';' before identifier 'Vb'          e:\meshtone\meshtone\dcel.h                26”,

 

which seems like that for some reason the “Triangulation_vertex_base_2” is not recognized. The relevant code parts:

 

#include <CGAL/Triangulation_vertex_base_2.h>

#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>

#include <CGAL/Constrained_Delaunay_triangulation_2.h>

 

 

 

typedef CGAL::Triangulation_vertex_base_2<EKernel>                            Vb;

typedef CGAL::Constrained_triangulation_face_base_2<EKernel>           Fb;

typedef CGAL::Triangulation_data_structure_2<Vb,Fb>              TDS;

typedef CGAL::Constrained_Delaunay_triangulation_2<EKernel, TDS > CDT;

 

I have no idea why this error happens. I use CGAL 3.4 on a VS2005 compiler.

 

Thanks,

Amir.




Archive powered by MHonArc 2.6.16.

Top of Page