Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] impossible to compiling simple example simple_triangulation_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] impossible to compiling simple example simple_triangulation_3


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] impossible to compiling simple example simple_triangulation_3
  • Date: Wed, 14 Dec 2011 08:07:31 +0100

Did you check in the header file Triangulation_3.h that

line 1096 you have:
void make_hole_3D( Vertex_handle v, std::map<Vertex_triple,Facet>& outer_map,
std::vector<Cell_handle> & hole);

and that line 3727 you have:
template < class Gt, class Tds >
void
Triangulation_3<Gt,Tds>::
make_hole_3D( Vertex_handle v,
std::map<Vertex_triple,Facet>& outer_map,
std::vector<Cell_handle> & hole)

?




pipalapop wrote:
Hello,

I try to generate the basical example simple_triangulation_3 with the last
CGAl revision (3.9) without any modifications.

But I have the following errors:



1>------ Début de la génération : Projet : simple_triangulation_3,
Configuration : Debug Win32 ------
1>Compilation en cours...
1>simple_triangulation_3.cpp
1>C:\Users\Yohan\Desktop\CGAL-3.9_32bits\include\CGAL/Triangulation_3.h(3747)
: error C2244: 'CGAL::Triangulation_3<GT,Tds>::make_hole_3D' : impossible de
faire correspondre la définition de fonction avec une déclaration existante
1> C:\Users\Yohan\Desktop\CGAL-3.9_32bits\include\CGAL/Triangulation_3.h(1096) :
voir la déclaration de 'CGAL::Triangulation_3<GT,Tds>::make_hole_3D'
1> définition
1> 'void
CGAL::Triangulation_3<GT,Tds>::make_hole_3D(Triangulation_3<GT,Tds>::Tds::Vertex_handle,std::map<CGAL::Triple&lt;Triangulation_3&lt;GT,Tds>::Tds::Vertex_handle,Triangulation_3<GT,Tds>::Tds::Vertex_handle,Triangulation_3<GT,Tds>::Tds::Vertex_handle>,Triangulation_3<GT,Tds>::Tds::Facet>
&,std::vector<Triangulation_3&lt;GT,Tds>::Tds::*Vertex_handle*> &)'
1> déclarations existantes
1> 'void
CGAL::Triangulation_3<GT,Tds>::make_hole_3D(Triangulation_3<GT,Tds>::Tds::Vertex_handle,std::map<CGAL::Triple&lt;Triangulation_3&lt;GT,Tds>::Tds::Vertex_handle,Triangulation_3<GT,Tds>::Tds::Vertex_handle,Triangulation_3<GT,Tds>::Tds::Vertex_handle>,Triangulation_3<GT,Tds>::Tds::Facet>
&,std::vector<Triangulation_3&lt;GT,Tds>::Tds::*Cell_handle*> &)'
1>C:\Users\Yohan\Desktop\CGAL-3.9_32bits\include\CGAL/Triangulation_3.h(4991)
: error C2244: 'CGAL::Triangulation_3<GT,Tds>::_make_big_hole_3D' :
impossible de faire correspondre la définition de fonction avec une
déclaration existante
1> C:\Users\Yohan\Desktop\CGAL-3.9_32bits\include\CGAL/Triangulation_3.h(1170) :
voir la déclaration de 'CGAL::Triangulation_3<GT,Tds>::_make_big_hole_3D'
1> définition
1> 'void
CGAL::Triangulation_3<GT,Tds>::_make_big_hole_3D(Triangulation_3<GT,Tds>::Tds::Vertex_handle,std::map<CGAL::Triple&lt;Triangulation_3&lt;GT,Tds>::Tds::Vertex_handle,Triangulation_3<GT,Tds>::Tds::Vertex_handle,Triangulation_3<GT,Tds>::Tds::Vertex_handle>,Triangulation_3<GT,Tds>::Tds::Facet>
&,std::vector<Triangulation_3&lt;GT,Tds>::Tds::*Vertex_handle*>
&,std::vector<Triangulation_3&lt;GT,Tds>::Tds::Vertex_handle>
&,std::map<Triangulation_3&lt;GT,Tds>::Tds::Vertex_handle,CGAL::Triangulation_3<GT,Tds>::REMOVE_VERTEX_STATE>
&)'
1> déclarations existantes
1> 'void
CGAL::Triangulation_3<GT,Tds>::_make_big_hole_3D(Triangulation_3<GT,Tds>::Tds::Vertex_handle,std::map<CGAL::Triple&lt;Triangulation_3&lt;GT,Tds>::Tds::Vertex_handle,Triangulation_3<GT,Tds>::Tds::Vertex_handle,Triangulation_3<GT,Tds>::Tds::Vertex_handle>,Triangulation_3<GT,Tds>::Tds::Facet>
&,std::vector<Triangulation_3&lt;GT,Tds>::Tds::*Cell_handle*>
&,std::vector<Triangulation_3&lt;GT,Tds>::Tds::Vertex_handle>
&,std::map<Triangulation_3&lt;GT,Tds>::Tds::Vertex_handle,CGAL::Triangulation_3<GT,Tds>::REMOVE_VERTEX_STATE>
&)'
1>Le journal de génération a été enregistré à l'emplacement
"file://c:\Users\Yohan\Desktop\CGAL-3.9_32bits\results32\examples\Triangulation_3\simple_triangulation_3.dir\Debug\BuildLog.htm"
1>simple_triangulation_3 - 2 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 3 mis à jour, 0 a été ignoré
==========


Each time there is a difference beetween the definition and the declaration:
Vertex_handle has been replaced by Cell_handle.

Have you an idea of the origin of this error.

I use Win7 64bit but compile the 32 bit version , visual studio 2005 and
boost 1.46.1.

Thanks

Will



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/impossible-to-compiling-simple-example-simple-triangulation-3-tp4190897p4190897.html
Sent from the cgal-discuss mailing list archive at Nabble.com.






Archive powered by MHonArc 2.6.16.

Top of Page