Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Triangulation_3 compiler error C2143: syntax error: missing ';' before ')'

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Triangulation_3 compiler error C2143: syntax error: missing ';' before ')'


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Triangulation_3 compiler error C2143: syntax error: missing ';' before ')'
  • Date: Thu, 24 Mar 2011 16:43:54 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=GfrF3y4DHnXfliiaaLXZkXMM6X7VPeVvOUkiEwu0RejaUstSWGJnvfkVR/prz6obiI WSXknR7BQ0cvejXQgmVavttJ91XUpLumExgZNMvMKyPuQgAWc5PsJIxpTl4YmLcmnj9y VO6eU6cZSX62rTGBU2zKeopZvb3cForCSI8+Q=

Please post it as code file, we can't see Triangulation_data_structure_3
template parameters.

S.

On 03/24/2011 04:27 PM, cmodel wrote:
Hi,
I am using Triangulation_3 to do something with Delaunay.

in header file, I defined some typedefs:

typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Triangulation_vertex_base_with_info_3&lt;CGAL::Color,K&gt;
Vb3;
typedef CGAL::Triangulation_data_structure_3 Tds3;
typedef CGAL::Delaunay_triangulation_3&lt;K,Tds3&gt; Delaunay3;
typedef Delaunay3::Point DPoint3;
typedef Delaunay3::Vertex_handle DVertex_handle3;
typedef Delaunay3::Finite_cells_iterator DFinite_cells_iterator3;

and in source file, I used the following:

DFinite_cells_iterator3 dit = DT3.finite_cells_begin();

compiler tells me "error C2143: syntax error: missing ';' before ')'

Anyone has idea?

compiler is MSVC-9.0 SP1. 32bit.

Thanks.
Leon



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Triangulation-3-compiler-error-C2143-syntax-error-missing-before-tp3402829p3402829.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.16.

Top of Page