Subject: CGAL users discussion list
List archive
- From: Ruud Vlaming <>
- To:
- Subject: [cgal-discuss] difficulties with clang and c+11
- Date: Sun, 19 May 2013 15:14:55 +0200
Hello Guys,
When trying to compile open-scad, (which makes use of cgal)
for c++11 on mac i get an error. Hopefully you can help.
versions:
mac: 10.8.3
boost: 1.53.0 (via macports)
cgal 4.2 (via macports)
clang: Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn)
compile options (generated by qmake => cmake)
/usr/bin/clang++
-c
-pipe
-fno-strict-aliasing
-std=c++11
-stdlib=libc++
-frounding-math
-O2
-arch x86_64
-Xarch_x86_64
-mmacosx-version-min=10.8
-Wall
-W
(see below for complete compile instruction and results)
cgal related error:
no viable conversion from 'Line_face_circulator'
in lines 544, 577 and 593 of the file
CGAL/Constrained_triangulation
Any idea how i can resolve this? Thanks for any help.
Ruud
=======================================================
complete first error message:
/opt/local/include/CGAL/Constrained_triangulation_2.h:544:32: error: no
viable conversion from 'Line_face_circulator' (aka
'Triangulation_line_face_circulator_2<Self>') to 'value_type' (aka
'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_vertex_base_2<void> >,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > > > > >, CGAL::Default>,
false>')
and comparable error occurs in lines 577, 593
=======================================================
complete compile instruction:
/usr/bin/clang++ -c -pipe -fno-strict-aliasing -std=c++11 -stdlib=libc++
-frounding-math -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.8
-Wall -W -DOPENSCAD_VERSION=2013.05.19 -DOPENSCAD_YEAR=2013.0
-DOPENSCAD_MONTH=05.0 -DOPENSCAD_DAY=19.0 -DDEBUG -DENABLE_MDI
-DUSE_PROGRESSWIDGET -DENABLE_CGAL -DENABLE_OPENCSG -DQT_NO_DEBUG
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -I. -Iobjects
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Isrc
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/include/eigen3
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include/eigen3 -I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/He
a
ders -I/System/Library/Frameworks/AGL.framework/Headers -Iobjects
-I/opt/local/include -F/opt/local/Library/Frameworks -F/opt/local/lib -o
objects/export.o src/export.cc
clang: warning: argument unused during compilation: '-frounding-math'
In file included from src/export.cc:33:
In file included from src/CGAL_Nef_polyhedron.h:4:
In file included from src/cgalfwd.h:5:
In file included from src/cgal.h:40:
In file included from /opt/local/include/CGAL/exceptions.h:28:
In file included from /opt/local/include/boost/lexical_cast.hpp:168:
/opt/local/include/boost/math/special_functions/fpclassify.hpp:98:29:
warning: unused parameter 't' [-Wunused-parameter]
inline bool is_nan_helper(T t, const boost::true_type&)
^
In file included from src/export.cc:33:
In file included from src/CGAL_Nef_polyhedron.h:4:
In file included from src/cgalfwd.h:5:
In file included from src/cgal.h:29:
In file included from /opt/local/include/CGAL/Nef_polyhedron_3.h:71:
/opt/local/include/CGAL/Constrained_triangulation_2.h:544:32: error: no
viable conversion from 'Line_face_circulator' (aka
'Triangulation_line_face_circulator_2<Self>') to
'value_type' (aka
'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_vertex_base_2<void> >,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > > > > >, CGAL::Default>,
false>')
intersected_faces.push_front(current_face);
^~~~~~~~~~~~
/opt/local/include/CGAL/Constrained_triangulation_2.h:479:24: note: in
instantiation of member function
'CGAL::Constrained_triangulation_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_vertex_base_2<void>
>,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > >,
CGAL::No_intersection_tag>::find_intersected_faces' requested here
bool intersection = find_intersected_faces( vaa, vbb,
^
/opt/local/include/CGAL/Constrained_triangulation_2.h:449:20: note: in
instantiation of member function
'CGAL::Constrained_triangulation_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_vertex_base_2<void>
>,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > >,
CGAL::No_intersection_tag>::insert_constraint' requested here
if ( va != vb) insert_constraint(va,vb);
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:633:9: note: in instantiation of
member function
'CGAL::Constrained_triangulation_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_vertex_base_2<void>
>,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > >,
CGAL::No_intersection_tag>::insert_constraint' requested here
ct.insert_constraint(sfc->source()->source()->point(),
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:752:33: note: in instantiation of
member function 'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::Triangulation_handler2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
> >::Triangulation_handler2' requested here
Triangulation_handler2<YZ> th(f);
^
/opt/local/include/CGAL/Nef_3/SNC_const_decorator.h:580:9: note: in
instantiation of member function
'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>, CGAL::SNC_indexed_items,
bool>::Build_polyhedron<CGAL::HalfedgeDS_default<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::__1::allocator<int> >
>::Visitor::visit' requested here
V.visit(f); // report facet
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:825:8: note: in instantiation of
function template specialization
'CGAL::SNC_const_decorator<CGAL::SNC_structure<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items, bool>
>::visit_shell_objects<CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::Build_polyhedron<CGAL::HalfedgeDS_default<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::__1::allocator<int> >
>::Visitor>' requested here
scd.visit_shell_objects(SFace_const_handle(c->shells_begin()),V);
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:1043:33: note: in instantiation of
member function 'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::Build_polyhedron<CGAL::HalfedgeDS_default<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::__1::allocator<int> >
>::operator()' requested here
Build_polyhedron<HalfedgeDS> bp(*this);
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:1035:4: note: in instantiation of
function template specialization
'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::convert_to_polyhedron<CGAL::Polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::Polyhedron_items_3, HalfedgeDS_default, std::__1::allocator<int>
> >' requested here
convert_to_polyhedron(P);
^
src/export.cc:45:14: note: in instantiation of function template
specialization 'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::convert_to_Polyhedron<CGAL::Polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::Polyhedron_items_3, HalfedgeDS_default, std::__1::allocator<int> > >'
requested here
root_N->p3->convert_to_Polyhedron(P);
^
/opt/local/include/CGAL/Compact_container.h:758:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'Nullptr_t' (aka
'const void *') for 1st argument; take the address of the argument with &
CC_iterator (Nullptr_t CGAL_assertion_code(n))
^
/opt/local/include/CGAL/Compact_container.h:745:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'const iterator
&' (aka 'const CC_iterator<Self, false> &') for 1st argument
CC_iterator (const iterator &it)
^
/opt/local/include/CGAL/Triangulation_line_face_circulator_2.h:96:3: note:
candidate function
operator const Face_handle() const {return pos;}
^
/usr/bin/../lib/c++/v1/list:919:34: note: passing argument to parameter '__x'
here
void push_front(value_type&& __x);
^
In file included from src/export.cc:33:
In file included from src/CGAL_Nef_polyhedron.h:4:
In file included from src/cgalfwd.h:5:
In file included from src/cgal.h:29:
In file included from /opt/local/include/CGAL/Nef_polyhedron_3.h:71:
/opt/local/include/CGAL/Constrained_triangulation_2.h:577:31: error: no
viable conversion from 'Line_face_circulator' (aka
'Triangulation_line_face_circulator_2<Self>') to
'value_type' (aka
'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_vertex_base_2<void> >,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > > > > >, CGAL::Default>,
false>')
intersected_faces.push_front(current_face);
^~~~~~~~~~~~
/opt/local/include/CGAL/Compact_container.h:758:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'Nullptr_t' (aka
'const void *') for 1st argument; take the address of the argument with &
CC_iterator (Nullptr_t CGAL_assertion_code(n))
^
/opt/local/include/CGAL/Compact_container.h:745:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'const iterator
&' (aka 'const CC_iterator<Self, false> &') for 1st argument
CC_iterator (const iterator &it)
^
/opt/local/include/CGAL/Triangulation_line_face_circulator_2.h:96:3: note:
candidate function
operator const Face_handle() const {return pos;}
^
/usr/bin/../lib/c++/v1/list:919:34: note: passing argument to parameter '__x'
here
void push_front(value_type&& __x);
^
In file included from src/export.cc:33:
In file included from src/CGAL_Nef_polyhedron.h:4:
In file included from src/cgalfwd.h:5:
In file included from src/cgal.h:29:
In file included from /opt/local/include/CGAL/Nef_polyhedron_3.h:71:
/opt/local/include/CGAL/Constrained_triangulation_2.h:593:32: error: no
viable conversion from 'Line_face_circulator' (aka
'Triangulation_line_face_circulator_2<Self>') to
'value_type' (aka
'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_vertex_base_2<void> >,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_yz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > > > > >, CGAL::Default>,
false>')
intersected_faces.push_front(current_face);
^~~~~~~~~~~~
/opt/local/include/CGAL/Compact_container.h:758:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'Nullptr_t' (aka
'const void *') for 1st argument; take the address of the argument with &
CC_iterator (Nullptr_t CGAL_assertion_code(n))
^
/opt/local/include/CGAL/Compact_container.h:745:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'const iterator
&' (aka 'const CC_iterator<Self, false> &') for 1st argument
CC_iterator (const iterator &it)
^
/opt/local/include/CGAL/Triangulation_line_face_circulator_2.h:96:3: note:
candidate function
operator const Face_handle() const {return pos;}
^
/usr/bin/../lib/c++/v1/list:919:34: note: passing argument to parameter '__x'
here
void push_front(value_type&& __x);
^
In file included from src/export.cc:33:
In file included from src/CGAL_Nef_polyhedron.h:4:
In file included from src/cgalfwd.h:5:
In file included from src/cgal.h:29:
In file included from /opt/local/include/CGAL/Nef_polyhedron_3.h:71:
/opt/local/include/CGAL/Constrained_triangulation_2.h:544:32: error: no
viable conversion from 'Line_face_circulator' (aka
'Triangulation_line_face_circulator_2<Self>') to
'value_type' (aka
'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_vertex_base_2<void> >,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > > > > >, CGAL::Default>,
false>')
intersected_faces.push_front(current_face);
^~~~~~~~~~~~
/opt/local/include/CGAL/Constrained_triangulation_2.h:479:24: note: in
instantiation of member function
'CGAL::Constrained_triangulation_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_vertex_base_2<void>
>,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > >,
CGAL::No_intersection_tag>::find_intersected_faces' requested here
bool intersection = find_intersected_faces( vaa, vbb,
^
/opt/local/include/CGAL/Constrained_triangulation_2.h:449:20: note: in
instantiation of member function
'CGAL::Constrained_triangulation_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_vertex_base_2<void>
>,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > >,
CGAL::No_intersection_tag>::insert_constraint' requested here
if ( va != vb) insert_constraint(va,vb);
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:633:9: note: in instantiation of
member function
'CGAL::Constrained_triangulation_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_vertex_base_2<void>
>,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > >,
CGAL::No_intersection_tag>::insert_constraint' requested here
ct.insert_constraint(sfc->source()->source()->point(),
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:755:33: note: in instantiation of
member function 'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::Triangulation_handler2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
> >::Triangulation_handler2' requested here
Triangulation_handler2<XZ> th(f);
^
/opt/local/include/CGAL/Nef_3/SNC_const_decorator.h:580:9: note: in
instantiation of member function
'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>, CGAL::SNC_indexed_items,
bool>::Build_polyhedron<CGAL::HalfedgeDS_default<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::__1::allocator<int> >
>::Visitor::visit' requested here
V.visit(f); // report facet
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:825:8: note: in instantiation of
function template specialization
'CGAL::SNC_const_decorator<CGAL::SNC_structure<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items, bool>
>::visit_shell_objects<CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::Build_polyhedron<CGAL::HalfedgeDS_default<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::__1::allocator<int> >
>::Visitor>' requested here
scd.visit_shell_objects(SFace_const_handle(c->shells_begin()),V);
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:1043:33: note: in instantiation of
member function 'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::Build_polyhedron<CGAL::HalfedgeDS_default<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::__1::allocator<int> >
>::operator()' requested here
Build_polyhedron<HalfedgeDS> bp(*this);
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:1035:4: note: in instantiation of
function template specialization
'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::convert_to_polyhedron<CGAL::Polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::Polyhedron_items_3, HalfedgeDS_default, std::__1::allocator<int>
> >' requested here
convert_to_polyhedron(P);
^
src/export.cc:45:14: note: in instantiation of function template
specialization 'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::convert_to_Polyhedron<CGAL::Polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::Polyhedron_items_3, HalfedgeDS_default, std::__1::allocator<int> > >'
requested here
root_N->p3->convert_to_Polyhedron(P);
^
/opt/local/include/CGAL/Compact_container.h:758:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'Nullptr_t' (aka
'const void *') for 1st argument; take the address of the argument with &
CC_iterator (Nullptr_t CGAL_assertion_code(n))
^
/opt/local/include/CGAL/Compact_container.h:745:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'const iterator
&' (aka 'const CC_iterator<Self, false> &') for 1st argument
CC_iterator (const iterator &it)
^
/opt/local/include/CGAL/Triangulation_line_face_circulator_2.h:96:3: note:
candidate function
operator const Face_handle() const {return pos;}
^
/usr/bin/../lib/c++/v1/list:919:34: note: passing argument to parameter '__x'
here
void push_front(value_type&& __x);
^
In file included from src/export.cc:33:
In file included from src/CGAL_Nef_polyhedron.h:4:
In file included from src/cgalfwd.h:5:
In file included from src/cgal.h:29:
In file included from /opt/local/include/CGAL/Nef_polyhedron_3.h:71:
/opt/local/include/CGAL/Constrained_triangulation_2.h:577:31: error: no
viable conversion from 'Line_face_circulator' (aka
'Triangulation_line_face_circulator_2<Self>') to
'value_type' (aka
'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_vertex_base_2<void> >,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > > > > >, CGAL::Default>,
false>')
intersected_faces.push_front(current_face);
^~~~~~~~~~~~
/opt/local/include/CGAL/Compact_container.h:758:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'Nullptr_t' (aka
'const void *') for 1st argument; take the address of the argument with &
CC_iterator (Nullptr_t CGAL_assertion_code(n))
^
/opt/local/include/CGAL/Compact_container.h:745:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'const iterator
&' (aka 'const CC_iterator<Self, false> &') for 1st argument
CC_iterator (const iterator &it)
^
/opt/local/include/CGAL/Triangulation_line_face_circulator_2.h:96:3: note:
candidate function
operator const Face_handle() const {return pos;}
^
/usr/bin/../lib/c++/v1/list:919:34: note: passing argument to parameter '__x'
here
void push_front(value_type&& __x);
^
In file included from src/export.cc:33:
In file included from src/CGAL_Nef_polyhedron.h:4:
In file included from src/cgalfwd.h:5:
In file included from src/cgal.h:29:
In file included from /opt/local/include/CGAL/Nef_polyhedron_3.h:71:
/opt/local/include/CGAL/Constrained_triangulation_2.h:593:32: error: no
viable conversion from 'Line_face_circulator' (aka
'Triangulation_line_face_circulator_2<Self>') to
'value_type' (aka
'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_vertex_base_2<void> >,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xz_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > > > > >, CGAL::Default>,
false>')
intersected_faces.push_front(current_face);
^~~~~~~~~~~~
/opt/local/include/CGAL/Compact_container.h:758:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'Nullptr_t' (aka
'const void *') for 1st argument; take the address of the argument with &
CC_iterator (Nullptr_t CGAL_assertion_code(n))
^
/opt/local/include/CGAL/Compact_container.h:745:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'const iterator
&' (aka 'const CC_iterator<Self, false> &') for 1st argument
CC_iterator (const iterator &it)
^
/opt/local/include/CGAL/Triangulation_line_face_circulator_2.h:96:3: note:
candidate function
operator const Face_handle() const {return pos;}
^
/usr/bin/../lib/c++/v1/list:919:34: note: passing argument to parameter '__x'
here
void push_front(value_type&& __x);
^
In file included from src/export.cc:33:
In file included from src/CGAL_Nef_polyhedron.h:4:
In file included from src/cgalfwd.h:5:
In file included from src/cgal.h:29:
In file included from /opt/local/include/CGAL/Nef_polyhedron_3.h:71:
/opt/local/include/CGAL/Constrained_triangulation_2.h:544:32: error: no
viable conversion from 'Line_face_circulator' (aka
'Triangulation_line_face_circulator_2<Self>') to
'value_type' (aka
'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_vertex_base_2<void> >,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > > > > >, CGAL::Default>,
false>')
intersected_faces.push_front(current_face);
^~~~~~~~~~~~
/opt/local/include/CGAL/Constrained_triangulation_2.h:479:24: note: in
instantiation of member function
'CGAL::Constrained_triangulation_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_vertex_base_2<void>
>,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > >,
CGAL::No_intersection_tag>::find_intersected_faces' requested here
bool intersection = find_intersected_faces( vaa, vbb,
^
/opt/local/include/CGAL/Constrained_triangulation_2.h:449:20: note: in
instantiation of member function
'CGAL::Constrained_triangulation_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_vertex_base_2<void>
>,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > >,
CGAL::No_intersection_tag>::insert_constraint' requested here
if ( va != vb) insert_constraint(va,vb);
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:633:9: note: in instantiation of
member function
'CGAL::Constrained_triangulation_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_vertex_base_2<void>
>,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > >,
CGAL::No_intersection_tag>::insert_constraint' requested here
ct.insert_constraint(sfc->source()->source()->point(),
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:758:33: note: in instantiation of
member function 'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::Triangulation_handler2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
> >::Triangulation_handler2' requested here
Triangulation_handler2<XY> th(f);
^
/opt/local/include/CGAL/Nef_3/SNC_const_decorator.h:580:9: note: in
instantiation of member function
'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>, CGAL::SNC_indexed_items,
bool>::Build_polyhedron<CGAL::HalfedgeDS_default<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::__1::allocator<int> >
>::Visitor::visit' requested here
V.visit(f); // report facet
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:825:8: note: in instantiation of
function template specialization
'CGAL::SNC_const_decorator<CGAL::SNC_structure<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items, bool>
>::visit_shell_objects<CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::Build_polyhedron<CGAL::HalfedgeDS_default<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::__1::allocator<int> >
>::Visitor>' requested here
scd.visit_shell_objects(SFace_const_handle(c->shells_begin()),V);
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:1043:33: note: in instantiation of
member function 'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::Build_polyhedron<CGAL::HalfedgeDS_default<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::__1::allocator<int> >
>::operator()' requested here
Build_polyhedron<HalfedgeDS> bp(*this);
^
/opt/local/include/CGAL/Nef_polyhedron_3.h:1035:4: note: in instantiation of
function template specialization
'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::convert_to_polyhedron<CGAL::Polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::Polyhedron_items_3, HalfedgeDS_default, std::__1::allocator<int>
> >' requested here
convert_to_polyhedron(P);
^
src/export.cc:45:14: note: in instantiation of function template
specialization 'CGAL::Nef_polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::SNC_indexed_items,
bool>::convert_to_Polyhedron<CGAL::Polyhedron_3<CGAL::Cartesian<CGAL::Gmpq>,
CGAL::Polyhedron_items_3, HalfedgeDS_default, std::__1::allocator<int> > >'
requested here
root_N->p3->convert_to_Polyhedron(P);
^
/opt/local/include/CGAL/Compact_container.h:758:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'Nullptr_t' (aka
'const void *') for 1st argument; take the address of the argument with &
CC_iterator (Nullptr_t CGAL_assertion_code(n))
^
/opt/local/include/CGAL/Compact_container.h:745:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'const iterator
&' (aka 'const CC_iterator<Self, false> &') for 1st argument
CC_iterator (const iterator &it)
^
/opt/local/include/CGAL/Triangulation_line_face_circulator_2.h:96:3: note:
candidate function
operator const Face_handle() const {return pos;}
^
/usr/bin/../lib/c++/v1/list:919:34: note: passing argument to parameter '__x'
here
void push_front(value_type&& __x);
^
In file included from src/export.cc:33:
In file included from src/CGAL_Nef_polyhedron.h:4:
In file included from src/cgalfwd.h:5:
In file included from src/cgal.h:29:
In file included from /opt/local/include/CGAL/Nef_polyhedron_3.h:71:
/opt/local/include/CGAL/Constrained_triangulation_2.h:577:31: error: no
viable conversion from 'Line_face_circulator' (aka
'Triangulation_line_face_circulator_2<Self>') to
'value_type' (aka
'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_vertex_base_2<void> >,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > > > > >, CGAL::Default>,
false>')
intersected_faces.push_front(current_face);
^~~~~~~~~~~~
/opt/local/include/CGAL/Compact_container.h:758:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'Nullptr_t' (aka
'const void *') for 1st argument; take the address of the argument with &
CC_iterator (Nullptr_t CGAL_assertion_code(n))
^
/opt/local/include/CGAL/Compact_container.h:745:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'const iterator
&' (aka 'const CC_iterator<Self, false> &') for 1st argument
CC_iterator (const iterator &it)
^
/opt/local/include/CGAL/Triangulation_line_face_circulator_2.h:96:3: note:
candidate function
operator const Face_handle() const {return pos;}
^
/usr/bin/../lib/c++/v1/list:919:34: note: passing argument to parameter '__x'
here
void push_front(value_type&& __x);
^
In file included from src/export.cc:33:
In file included from src/CGAL_Nef_polyhedron.h:4:
In file included from src/cgalfwd.h:5:
In file included from src/cgal.h:29:
In file included from /opt/local/include/CGAL/Nef_polyhedron_3.h:71:
/opt/local/include/CGAL/Constrained_triangulation_2.h:593:32: error: no
viable conversion from 'Line_face_circulator' (aka
'Triangulation_line_face_circulator_2<Self>') to
'value_type' (aka
'CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_ds_vertex_base_2<void> >,
CGAL::Constrained_triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>,
CGAL::Triangulation_face_base_2<CGAL::Projection_traits_xy_3<CGAL::Cartesian<CGAL::Gmpq>
>, CGAL::Triangulation_ds_face_base_2<void> > > > > > >, CGAL::Default>,
false>')
intersected_faces.push_front(current_face);
^~~~~~~~~~~~
/opt/local/include/CGAL/Compact_container.h:758:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'Nullptr_t' (aka
'const void *') for 1st argument; take the address of the argument with &
CC_iterator (Nullptr_t CGAL_assertion_code(n))
^
/opt/local/include/CGAL/Compact_container.h:745:5: note: candidate
constructor not viable: no known conversion from 'Line_face_circulator'
(aka 'Triangulation_line_face_circulator_2<Self>') to 'const iterator
&' (aka 'const CC_iterator<Self, false> &') for 1st argument
CC_iterator (const iterator &it)
^
/opt/local/include/CGAL/Triangulation_line_face_circulator_2.h:96:3: note:
candidate function
operator const Face_handle() const {return pos;}
^
/usr/bin/../lib/c++/v1/list:919:34: note: passing argument to parameter '__x'
here
void push_front(value_type&& __x);
^
1 warning and 9 errors generated.
make: *** [objects/export.o] Error 1
- [cgal-discuss] difficulties with clang and c+11, Ruud Vlaming, 05/19/2013
- Re: [cgal-discuss] difficulties with clang and c+11, Philipp Moeller, 05/22/2013
- Re: Re: [cgal-discuss] difficulties with clang and c+11, Laurent Rineau (CGAL/GeometryFactory), 05/22/2013
- Re: [cgal-discuss] difficulties with clang and c+11, Ruud Vlaming, 05/22/2013
- Re: [cgal-discuss] difficulties with clang and c+11, Marc Glisse, 05/22/2013
- Re: [cgal-discuss] difficulties with clang and c+11, Ruud Vlaming, 05/23/2013
- Re: [cgal-discuss] difficulties with clang and c+11, Philipp Moeller, 05/23/2013
- Re: [cgal-discuss] difficulties with clang and c+11, Ruud Vlaming, 05/23/2013
- Re: [cgal-discuss] difficulties with clang and c+11, Marc Glisse, 05/22/2013
- Re: [cgal-discuss] difficulties with clang and c+11, Philipp Moeller, 05/22/2013
Archive powered by MHonArc 2.6.18.