Skip to Content.
Sympa Menu

cgal-discuss - error in "segment_delaunay_graph_vertex_base_2.h"

Subject: CGAL users discussion list

List archive

error in "segment_delaunay_graph_vertex_base_2.h"


Chronological Thread 
  • From:
  • To:
  • Subject: error in "segment_delaunay_graph_vertex_base_2.h"
  • Date: Wed, 9 Jan 2008 10:29:07 +0100

I get an error message from "segment_delaunay_graph_vertex_base_2.h" which is
one of the CGAL 3.3.1 files. I don't understand the error and I can not find
who cause the problem. The error is:


c:\program
files\cgal-3.3.1\include\cgal\segment_delaunay_graph_vertex_base_2.h(48) :
error C2039: 'Geom_traits' : is not a member of 'CGAL::Boolean_tag<b>'
with
[
b=true
]
c:\program
files\cgal-3.3.1\include\cgal\segment_delaunay_graph_hierarchy_vertex_base_2.h(32)
: see reference to class template instantiation 'CGAL::Sdgvb2<STraits>'
being compiled
with
[
STraits=CGAL::Tag_true
]
c:\program
files\cgal-3.3.1\include\cgal\triangulation_data_structure_2.h(60) : see
reference to class template instantiation 'CGAL::Sdghvb2<Vbb>' being compiled
with
[
Vbb=CGAL::Sdgvb2<CGAL::Tag_true>
]
c:\program files\cgal-3.3.1\include\cgal\triangulation_2.h(77) : see
reference to class template instantiation 'CGAL::Tds2<Vb,Fb>' being compiled
with
[
Vb=CGAL::Sdghvb2<CGAL::Sdgvb2<CGAL::Tag_true>>,

Fb=CGAL::Tfb<CGAL::Segment_Delaunay_graph_filtered_traits_without_intersections_2<CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::MTag,CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::EMTag>>
]
c:\program
files\cgal-3.3.1\include\cgal\segment_delaunay_graph_2.h(157) : see reference
to class template instantiation 'CGAL::Triangulation_2<Gt,Tds>' being compiled
with
[

Gt=CGAL::Sdgtw2<CGAL::Segment_Delaunay_graph_filtered_traits_without_intersections_2<CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::MTag,CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::EMTag>>,

Tds=CGAL::Tds2<CGAL::Sdghvb2<CGAL::Sdgvb2<CGAL::Tag_true>>,CGAL::Tfb<CGAL::Segment_Delaunay_graph_filtered_traits_without_intersections_2<CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::MTag,CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::EMTag>>>
]
c:\program
files\cgal-3.3.1\include\cgal\segment_delaunay_graph_hierarchy_2.h(66) : see
reference to class template instantiation 'CGAL::Sdg2<Gt,ST,DS,LTag>' being
compiled
with
[

Gt=CGAL::Segment_Delaunay_graph_filtered_traits_without_intersections_2<CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::MTag,CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::EMTag>,
ST=CGAL::Tag_true,

DS=CGAL::Tds2<CGAL::Sdghvb2<CGAL::Sdgvb2<CGAL::Tag_true>>,CGAL::Tfb<CGAL::Segment_Delaunay_graph_filtered_traits_without_intersections_2<CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::MTag,CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::EMTag>>>,
LTag=CGAL::Tag_false
]
d:\mahmood\visual studio
2005\projects\vvc2005\include\cgal\polygon_voronoi_diagram_2.h(259) : see
reference to class template instantiation 'CGAL::Sdgh2<Gt,ST,STag>' being
compiled
with
[

Gt=CGAL::Segment_Delaunay_graph_filtered_traits_without_intersections_2<CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::MTag,CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::EMTag>,
ST=CGAL::Tag_true,

STag=CGAL::Tds2<CGAL::Sdghvb2<CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::Segment_Delaunay_graph_vertex_data_2<CGAL::Sdgvb2<CGAL::Segment_Delaunay_graph_filtered_traits_without_intersections_2<CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::MTag,CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::EMTag>,CGAL::Tag_false>,CGAL::Polygon_feature_2>>,CGAL::Tfb<CGAL::Segment_Delaunay_graph_filtered_traits_without_intersections_2<CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::MTag,CGAL::Simple_cartesian<Rational>,CGAL::Polygon_Voronoi_diagram_2<CGAL::Simple_cartesian<Rational>>::EMTag>>>
]
d:\mahmood\visual studio
2005\projects\vvc2005\include\cgal\polygon_voronoi_diagram_2.h(428) : see
reference to class template instantiation
'CGAL::Polygon_Voronoi_diagram_2<Kernel_>::Aux_polygon_Voronoi_diagram_2'
being compiled
with
[
Kernel_=CGAL::Simple_cartesian<Rational>
]
d:\mahmood\visual studio
2005\projects\vvc2005\include\cgal\partial_polygon_voronoi_diagram_2.h(20) :
see reference to class template instantiation
'CGAL::Polygon_Voronoi_diagram_2<Kernel_>' being compiled
with
[
Kernel_=CGAL::Simple_cartesian<Rational>
]
d:\mahmood\visual studio
2005\projects\vvc2005\include\cgal\vvc_diagram_2.h(40) : see reference to
class template instantiation
'CGAL::Partial_polygon_Voronoi_diagram_2<Traits_>' being compiled
with
[
Traits_=CGAL::Arr_conic_traits_2<Rat_kernel,Alg_kernel,Nt_traits>
]
d:\mahmood\visual studio
2005\projects\vvc2005\vvc2005\vvc_demo.cpp(8) : see reference to class
template instantiation 'CGAL::VVc_diagram_2<Traits_,AppKernel_>' being
compiled
with
[
Traits_=Traits_2,
AppKernel_=App_kernel
]
c:\program
files\cgal-3.3.1\include\cgal\segment_delaunay_graph_vertex_base_2.h(48) :
error C2146: syntax error : missing ';' before identifier 'Geom_traits'
c:\program
files\cgal-3.3.1\include\cgal\segment_delaunay_graph_vertex_base_2.h(48) :
error C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
c:\program
files\cgal-3.3.1\include\cgal\segment_delaunay_graph_vertex_base_2.h(48) :
error C2602: 'CGAL::Sdgvb2<STraits>::Geom_traits' is not a member of a base
class of 'CGAL::Sdgvb2<STraits>'
with
[
STraits=CGAL::Tag_true
]
c:\program
files\cgal-3.3.1\include\cgal\segment_delaunay_graph_vertex_base_2.h(48) :
see declaration of 'CGAL::Sdgvb2<STraits>::Geom_traits'
with
[
STraits=CGAL::Tag_true
]
c:\program
files\cgal-3.3.1\include\cgal\segment_delaunay_graph_vertex_base_2.h(48) :
error C2868: 'CGAL::Sdgvb2<STraits>::Geom_traits' : illegal syntax for
using-declaration; expected qualified-name
with
[
STraits=CGAL::Tag_true
]
c:\program
files\cgal-3.3.1\include\cgal\segment_delaunay_graph_vertex_base_2.h(49) :
error C2825: 'CGAL::Sdgvb2<STraits>::Geom_traits': must be a class or
namespace when followed by '::'
with
[
STraits=CGAL::Tag_true
]



part of the file which contains this error is:
public:
// TYPES
//------
typedef STraits Storage_traits;
typedef typename Storage_traits::Geom_traits Geom_traits;
typedef typename Geom_traits::Site_2 Site_2;
typedef typename Storage_traits::Storage_site_2 Storage_site_2;
typedef DS Data_structure;
...


  • error in "segment_delaunay_graph_vertex_base_2.h", nt_mahmood, 01/09/2008

Archive powered by MHonArc 2.6.16.

Top of Page