Subject: CGAL users discussion list
List archive
- From: Edoardo Milotti <>
- To:
- Subject: Re: [cgal-discuss] two questions on future CGAL developments
- Date: Wed, 5 May 2010 20:27:57 +0200
I do not use the -strict-ansi flag, while I always set -fp-model strict. I have tried to build the libraries with cmake -DCMAKE_C_COMPILER=/opt/intel/Compiler/11.1/088/bin/intel64/icc -DCMAKE_CXX_COMPILER=/opt/intel/Compiler/11.1/088/bin/intel64/icpc -DWITH_examples=true and then make. The libraries build (with some warnings that tell me there are duplicate libraries), but when I try to run the examples I always get "segmentation error". Now I am using the libraries built by gcc 4.5. When I try to compile the program that calls CGAL with icpc I get a list of error messages like this: ******************** /CG_Software/CGAL-3.6/CGAL-3.6/include/CGAL/Triangulation_ds_cell_base_3.h(50): error: only "()" is allowed as initializer for array member "CGAL::Triangulation_ds_cell_base_3<TDS>::V" : V((Vertex_handle[4]) {v0, v1, v2, v3} ) {} ^ detected during: instantiation of "CGAL::Triangulation_cell_base_3<GT, Cb>::Triangulation_cell_base_3(Cb::Vertex_handle, Cb::Vertex_handle, Cb::Vertex_handle, Cb::Vertex_handle) [with GT=K, Cb=CGAL::Triangulation_ds_cell_base_3<CGAL::Triangulation_data_structure_3<Vb, Fb>>]" at line 88 of "/CG_Software/CGAL-3.6/CGAL-3.6/include/CGAL/Alpha_shape_cell_base_3.h" instantiation of "CGAL::Alpha_shape_cell_base_3<Gt, Cb>::Alpha_shape_cell_base_3(Cb::Vertex_handle, Cb::Vertex_handle, Cb::Vertex_handle, Cb::Vertex_handle) [with Gt=K, Cb=CGAL::Triangulation_cell_base_3<K, CGAL::Triangulation_ds_cell_base_3<CGAL::Triangulation_data_structure_3<Vb, Fb>>>]" at line 301 of "/CG_Software/CGAL-3.6/CGAL-3.6/include/CGAL/Compact_container.h" instantiation of "CGAL::internal::CC_iterator<CGAL::Compact_container<T, Allocator_>, false> CGAL::Compact_container<T, Allocator_>::emplace(const T1 &, const T2 &, const T3 &, const T4 &) [with T=CGAL::Alpha_shape_cell_base_3<K, CGAL::Triangulation_cell_base_3<K, CGAL::Triangulation_ds_cell_base_3<CGAL::Triangulation_data_structure_3<Vb, Fb>>>>, Allocator_=CGAL::Default, T1=CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Alpha_shape_vertex_base_3<K, CGAL::Triangulation_vertex_base_with_info_3<int, K, CGAL::Triangulation_vertex_base_3<K, CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<Vb, Fb>>>>>, CGAL::Default>, false>, T2=CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Alpha_shape_vertex_base_3<K, CGAL::Triangulation_vertex_base_with_info_3<int, K, CGAL::Triangulation_vertex_base_3<K, CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<Vb, Fb>>>>>, CGAL::Default>, false>, T3=CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Alpha_shape_vertex_base_3<K, CGAL::Triangulation_vertex_base_with_info_3<int, K, CGAL::Triangulation_vertex_base_3<K, CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<Vb, Fb>>>>>, CGAL::Default>, false>, T4=CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Alpha_shape_vertex_base_3<K, CGAL::Triangulation_vertex_base_with_info_3<int, K, CGAL::Triangulation_vertex_base_3<K, CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<Vb, Fb>>>>>, CGAL::Default>, false>]" at line 229 of "/CG_Software/CGAL-3.6/CGAL-3.6/include/CGAL/Triangulation_data_structure_3.h" instantiation of "CGAL::Compact_container<Cb::Rebind_TDS<CGAL::Triangulation_data_structure_3<Vb, Cb>>::Other, CGAL::Default>::iterator CGAL::Triangulation_data_structure_3<Vb, Cb>::create_face(CGAL::Compact_container<Vb::Rebind_TDS<CGAL::Triangulation_data_structure_3<Vb, Cb>>::Other, CGAL::Default>::iterator, CGAL::Compact_container<Vb::Rebind_TDS<CGAL::Triangulation_data_structure_3<Vb, Cb>>::Other, CGAL::Default>::iterator, CGAL::Compact_container<Vb::Rebind_TDS<CGAL::Triangulation_data_structure_3<Vb, Cb>>::Other, CGAL::Default>::iterator) [with Vb=Vb, Cb=Fb]" at line 2194 of "/CG_Software/CGAL-3.6/CGAL-3.6/include/CGAL/Triangulation_data_structure_3.h" instantiation of "CGAL::Compact_container<Vb::Rebind_TDS<CGAL::Triangulation_data_structure_3<Vb, Cb>>::Other, CGAL::Default>::iterator CGAL::Triangulation_data_structure_3<Vb, Cb>::insert_increase_dimension(CGAL::Compact_container<Vb::Rebind_TDS<CGAL::Triangulation_data_structure_3<Vb, Cb>>::Other, CGAL::Default>::iterator) [with Vb=Vb, Cb=Fb]" at line 305 of "/CG_Software/CGAL-3.6/CGAL-3.6/include/CGAL/Triangulation_3.h" instantiation of "void CGAL::Triangulation_3<GT, Tds_>::init_tds() [with GT=K, Tds_=Tds]" at line 314 of "/CG_Software/CGAL-3.6/CGAL-3.6/include/CGAL/Triangulation_3.h" instantiation of "CGAL::Triangulation_3<GT, Tds_>::Triangulation_3(const GT &) [with GT=K, Tds_=Tds]" at line 178 of "/CG_Software/CGAL-3.6/CGAL-3.6/include/CGAL/Delaunay_triangulation_3.h" instantiation of "CGAL::Delaunay_triangulation_3<Gt, Tds_, CGAL::Default>::Delaunay_triangulation_3(const Gt &) [with Gt=K, Tds_=Tds]" at line .... ******************** The program compiles and runs correctly when I use g++ 4.5. Thanks, Edoardo Milotti |
- [cgal-discuss] two questions on future CGAL developments, Edoardo Milotti, 05/05/2010
- Re: [cgal-discuss] two questions on future CGAL developments, Laurent Rineau (GeometryFactory), 05/05/2010
- Re: [cgal-discuss] two questions on future CGAL developments, Edoardo Milotti, 05/05/2010
- Re: [cgal-discuss] two questions on future CGAL developments, Laurent Rineau (GeometryFactory), 05/05/2010
- Re: [cgal-discuss] two questions on future CGAL developments, Edoardo Milotti, 05/06/2010
- Re: [cgal-discuss] two questions on future CGAL developments, Laurent Rineau (GeometryFactory), 05/05/2010
- Re: [cgal-discuss] two questions on future CGAL developments, Edoardo Milotti, 05/05/2010
- Re: [cgal-discuss] two questions on future CGAL developments, Laurent Rineau (GeometryFactory), 05/05/2010
Archive powered by MHonArc 2.6.16.