Open GoogleCodeExporter opened 9 years ago
Could you try with a more recent boost version?
Original comment by sloriot...@gmail.com
on 22 Jun 2012 at 3:25
thanks for your reply. Just tried boost_1_47_0, cmake
-DCGAL_DIR=/usr/local/lib/CGAL -DBUILD_JAVA=OFF still got error.
part of output:
/home/yulan/boost_1_47_0/include/boost/function_output_iterator.hpp:19: note:
candidates are:
boost::function_output_iterator<Container_writer<SWIG_Triangulation_3::CGAL_Vert
ex_handle<CGAL::Regular_triangulation_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>, CGAL::Default>, Weighted_point_3>,
CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_vertex_b
ase_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick, double,
true>,
CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::
Triangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL:
:Epick, double, true>, CGAL::Triangulation_ds_vertex_base_3<void> >,
CGAL::Regular_triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>, CGAL::Triangulation_ds_cell_base_3<void> >,
std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > > >
> >, CGAL::Default>, false> > >&
boost::function_output_iterator<Container_writer<SWIG_Triangulation_3::CGAL_Vert
ex_handle<CGAL::Regular_triangulation_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>, CGAL::Default>, Weighted_point_3>,
CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_vertex_b
ase_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick, double,
true>,
CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::
Triangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL:
:Epick, double, true>, CGAL::Triangulation_ds_vertex_base_3<void> >,
CGAL::Regular_triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>, CGAL::Triangulation_ds_cell_base_3<void> >,
std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > > >
> >, CGAL::Default>, false> > >::operator=(const
boost::function_output_iterator<Container_writer<SWIG_Triangulation_3::CGAL_Vert
ex_handle<CGAL::Regular_triangulation_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>, CGAL::Default>, Weighted_point_3>,
CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_vertex_b
ase_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick, double,
true>,
CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::
Triangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL:
:Epick, double, true>, CGAL::Triangulation_ds_vertex_base_3<void> >,
CGAL::Regular_triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>, CGAL::Triangulation_ds_cell_base_3<void> >,
std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > > >
> >, CGAL::Default>, false> > >&)
/home/yulan/cgal-bindings/SWIG_CGAL/Triangulation_3/CGAL_Triangulation_3PYTHON_w
rap.cxx: In function ‘PyObject*
_wrap_Internal_Triangulation_3_Regular_triangulation_3_finite_adjacent_vertices(
PyObject*, PyObject*)’:
/home/yulan/cgal-bindings/SWIG_CGAL/Triangulation_3/CGAL_Triangulation_3PYTHON_w
rap.cxx:48607: error: no match for ‘operator=’ in ‘arg3 =
boost::make_function_output_iterator [with UnaryFunction =
Container_writer<std::pair<SWIG_Triangulation_3::CGAL_Cell_handle<CGAL::Regular_
triangulation_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick,
double, true>, CGAL::Default>, Weighted_point_3>, int>,
std::pair<CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Regular_tria
ngulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick
, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>,
CGAL::Triangulation_ds_cell_base_3<CGAL::Triangulation_data_structure_3<CGAL::Tr
iangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::E
pick, double, true>, CGAL::Triangulation_ds_vertex_base_3<void> >,
CGAL::Regular_triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>, CGAL::Triangulation_ds_cell_base_3<void> >,
std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > > >
> >, std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > >,
CGAL::Default>, false>, int> >](((const
Container_writer<std::pair<SWIG_Triangulation_3::CGAL_Cell_handle<CGAL::Regular_
triangulation_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick,
double, true>, CGAL::Default>, Weighted_point_3>, int>,
std::pair<CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Regular_tria
ngulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick
, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>,
CGAL::Triangulation_ds_cell_base_3<CGAL::Triangulation_data_structure_3<CGAL::Tr
iangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::E
pick, double, true>, CGAL::Triangulation_ds_vertex_base_3<void> >,
CGAL::Regular_triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>, CGAL::Triangulation_ds_cell_base_3<void> >,
std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > > >
> >, std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > >,
CGAL::Default>, false>, int> >&)((const
Container_writer<std::pair<SWIG_Triangulation_3::CGAL_Cell_handle<CGAL::Regular_
triangulation_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick,
double, true>, CGAL::Default>, Weighted_point_3>, int>,
std::pair<CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Regular_tria
ngulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick
, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>,
CGAL::Triangulation_ds_cell_base_3<CGAL::Triangulation_data_structure_3<CGAL::Tr
iangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::E
pick, double, true>, CGAL::Triangulation_ds_vertex_base_3<void> >,
CGAL::Regular_triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>, CGAL::Triangulation_ds_cell_base_3<void> >,
std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > > >
> >, std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > >,
CGAL::Default>, false>, int> >*)(&
Container_writer<std::pair<SWIG_Triangulation_3::CGAL_Cell_handle<CGAL::Regular_
triangulation_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick,
double, true>, CGAL::Default>, Weighted_point_3>, int>,
std::pair<CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Regular_tria
ngulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick
, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>,
CGAL::Triangulation_ds_cell_base_3<CGAL::Triangulation_data_structure_3<CGAL::Tr
iangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::E
pick, double, true>, CGAL::Triangulation_ds_vertex_base_3<void> >,
CGAL::Regular_triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>, CGAL::Triangulation_ds_cell_base_3<void> >,
std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > > >
> >, std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > >,
CGAL::Default>, false>, int> >(obj2, swig_types[89])))))’
/home/yulan/boost_1_47_0/include/boost/function_output_iterator.hpp:19: note:
candidates are:
boost::function_output_iterator<Container_writer<SWIG_Triangulation_3::CGAL_Vert
ex_handle<CGAL::Regular_triangulation_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>, CGAL::Default>, Weighted_point_3>,
CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_vertex_b
ase_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick, double,
true>,
CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::
Triangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL:
:Epick, double, true>, CGAL::Triangulation_ds_vertex_base_3<void> >,
CGAL::Regular_triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>, CGAL::Triangulation_ds_cell_base_3<void> >,
std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > > >
> >, CGAL::Default>, false> > >&
boost::function_output_iterator<Container_writer<SWIG_Triangulation_3::CGAL_Vert
ex_handle<CGAL::Regular_triangulation_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>, CGAL::Default>, Weighted_point_3>,
CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_vertex_b
ase_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick, double,
true>,
CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::
Triangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL:
:Epick, double, true>, CGAL::Triangulation_ds_vertex_base_3<void> >,
CGAL::Regular_triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>, CGAL::Triangulation_ds_cell_base_3<void> >,
std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > > >
> >, CGAL::Default>, false> > >::operator=(const
boost::function_output_iterator<Container_writer<SWIG_Triangulation_3::CGAL_Vert
ex_handle<CGAL::Regular_triangulation_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>, CGAL::Default>, Weighted_point_3>,
CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_vertex_b
ase_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick, double,
true>,
CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::
Triangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL:
:Epick, double, true>, CGAL::Triangulation_ds_vertex_base_3<void> >,
CGAL::Regular_triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_tr
aits_3<CGAL::Epick, double, true>,
CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<C
GAL::Epick, double, true>, CGAL::Triangulation_ds_cell_base_3<void> >,
std::list<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double>,
std::allocator<CGAL::Weighted_point<CGAL::Point_3<CGAL::Epick>, double> > > > >
> >, CGAL::Default>, false> > >&)
make[2]: ***
[SWIG_CGAL/Triangulation_3/CMakeFiles/_CGAL_Triangulation_3.dir/CGAL_Triangulati
on_3PYTHON_wrap.cxx.o] Error 1
make[1]: ***
[SWIG_CGAL/Triangulation_3/CMakeFiles/_CGAL_Triangulation_3.dir/all] Error 2
make: *** [all] Error 2
Original comment by H7tan...@gmail.com
on 24 Jun 2012 at 9:31
What is your swig version? you need at least the version 2.0
Original comment by sloriot...@gmail.com
on 25 Jun 2012 at 6:16
Thanks again for the tip. compiled successfully after upgrading swig from 1.3
to 2.0.
here are the output of ./test.sh, segfault occurs
==================Running AABB_polyhedron_facet_intersection_example.py
==================
./test.sh: line 3: 6647 Segmentation fault python $name
==================Running AABB_triangle_3_example.py ==================
3 intersections(s) with ray query
squared distance: 8.33333333333
==================Running conforming.py ==================
Number of vertices before: 8
Number of vertices after make_conforming_Delaunay_2: 10
Number of vertices after make_conforming_Gabriel_2: 49
==================Running mesh_global.py ==================
Number of vertices: 5
Meshing the triangulation...
Number of vertices: 126
==================Running mesh_polyhedral_domain.py ==================
==================Running polygonal_triangulation.py ==================
./test.sh: line 3: 6714 Segmentation fault python $name
==================Running Polyhedron_incremental_builder.py ==================
(v,f,e) = 3 1 3
(v,f,e) = 4 2 5
==================Running polyhedron_modifier_example.py ==================
3
==================Running polyhedron_prog_cube.py ==================
==================Running regular_3.py ==================
Number of vertices : 72
==================Running simple_triangulation_3.py ==================
==================Running test_aabb.py ==================
./test.sh: line 3: 6740 Segmentation fault python $name
==================Running test.py ==================
OK
./test.sh: line 3: 6744 Segmentation fault python $name
==================Running test_rt2.py ==================
OK
./test.sh: line 3: 6748 Segmentation fault python $name
==================Running test_t2.py ==================
Nb vertices 6
2
infinite edge
744 888 71177 88
infinite edge
745 118 711 888
3 44 745 118
777 88 3 2
3 2 7757 88
7757 88 777 88
infinite edge
3 2 1 2
3 2 745 118
3 44 3 2
744 888 7757 88
7757 88 71177 88
711 888 744 888
71177 88 3 2
777 88 745 118
711 888 7757 88
711 888 777 88
3 44 711 888
infinite edge
infinite edge
1 2 3 44
infinite edge
./test.sh: line 3: 6752 Segmentation fault python $name
==================Running triangulation_prog1.py ==================
10 1
1 0
4 5
9 8
Original comment by H7tan...@gmail.com
on 26 Jun 2012 at 3:14
What is your python version? Swig version?
Could you try with a CGAL version you compiled yourself, IIRC there used to be
a version of CGAL badly packaged in ubuntu.
Original comment by sloriot...@gmail.com
on 27 Jun 2012 at 6:57
python 2.6.5, swig 2.0.7,
cgal-3.9, compiled by myself.
Original comment by H7tan...@gmail.com
on 29 Jun 2012 at 1:57
the current HEAD is no longer working with CGAL 3.9
Could you try with at least CGAL 4.0 and tell me whether you
still have such a problem?
Original comment by sloriot...@gmail.com
on 24 Aug 2012 at 8:55
Original issue reported on code.google.com by
H7tan...@gmail.com
on 22 Jun 2012 at 2:24