stla / cgalPolygons

Utilities for polygons, using CGAL.
3 stars 0 forks source link

cgalPolygons does not compile anymore with gcc (neither 0.1.1 from CRAN, nor 0.1.2 from master): `Gps_polygon_validation.h: error: no match for 'operator='` #2

Open barracuda156 opened 3 months ago

barracuda156 commented 3 months ago

@stla Could you please have a look? Something has broken down:

:info:build In file included from /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Gps_segment_traits_2.h:24,
:info:build                  from cgalPolygons_types.h:7:
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Boolean_set_operations_2/Gps_polygon_validation.h: In instantiation of 'bool CGAL::is_crossover_outer_boundary(const typename Traits_2::Polygon_with_holes_2&, const Traits_2&, PointLocation&) [with Traits_2 = Gps_segment_traits_2<Epeck>; PointLocation = Arr_naive_point_location<Arrangement_on_surface_2<Gps_segment_traits_2<Epeck>, Arr_bounded_planar_topology_traits_2<Gps_segment_traits_2<Epeck>, Gps_default_dcel<Gps_segment_traits_2<Epeck> > > > >; typename Traits_2::Polygon_with_holes_2 = Polygon_with_holes_2<Epeck, std::vector<Point_2<Epeck>, std::allocator<Point_2<Epeck> > > >]':
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Boolean_set_operations_2/Gps_polygon_validation.h:474:37:   required from 'bool CGAL::is_crossover_outer_boundary(const typename Traits_2::Polygon_with_holes_2&, const Traits_2&) [with Traits_2 = Gps_segment_traits_2<Epeck>; typename Traits_2::Polygon_with_holes_2 = Polygon_with_holes_2<Epeck, std::vector<Point_2<Epeck>, std::allocator<Point_2<Epeck> > > >]'
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Boolean_set_operations_2/Gps_polygon_validation.h:782:46:   required from 'bool CGAL::is_valid_polygon_with_holes(const typename Traits_2::Polygon_with_holes_2&, const Traits_2&) [with Traits_2 = Gps_segment_traits_2<Epeck>; typename Traits_2::Polygon_with_holes_2 = Polygon_with_holes_2<Epeck, std::vector<Point_2<Epeck>, std::allocator<Point_2<Epeck> > > >]'
:info:build BooleanOperations.cpp:12:40:   required from here
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Boolean_set_operations_2/Gps_polygon_validation.h:413:11: error: no match for 'operator=' (operand types are 'CGAL::Object' and 'CGAL::Arr_naive_point_location<CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > > >::Result_type' {aka 'std::variant<CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_concrete_vertex, CGAL::internal::In_place_list_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Vertex, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_halfedge, CGAL::internal::In_place_list_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Halfedge, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_face, CGAL::internal::In_place_list_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Face, int, std::bidirectional_iterator_tag> >'})
:info:build   413 |       obj = pl.locate(second_point);
:info:build       |       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
:info:build In file included from /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/kernel_basic.h:25,
:info:build                  from /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/basic.h:30:
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Object.h:37:7: note: candidate: 'CGAL::Object& CGAL::Object::operator=(const CGAL::Object&)'
:info:build    37 | class Object
:info:build       |       ^~~~~~
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Object.h:37:7: note:   no known conversion for argument 1 from 'CGAL::Arr_naive_point_location<CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > > >::Result_type' {aka 'std::variant<CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_concrete_vertex, CGAL::internal::In_place_list_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Vertex, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_halfedge, CGAL::internal::In_place_list_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Halfedge, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_face, CGAL::internal::In_place_list_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Face, int, std::bidirectional_iterator_tag> >'} to 'const CGAL::Object&'
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Object.h:37:7: note: candidate: 'CGAL::Object& CGAL::Object::operator=(CGAL::Object&&)'
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Object.h:37:7: note:   no known conversion for argument 1 from 'CGAL::Arr_naive_point_location<CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > > >::Result_type' {aka 'std::variant<CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_concrete_vertex, CGAL::internal::In_place_list_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Vertex, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_halfedge, CGAL::internal::In_place_list_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Halfedge, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_face, CGAL::internal::In_place_list_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Face, int, std::bidirectional_iterator_tag> >'} to 'CGAL::Object&&'
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Boolean_set_operations_2/Gps_polygon_validation.h:425:11: error: no match for 'operator=' (operand types are 'CGAL::Object' and 'CGAL::Arr_naive_point_location<CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > > >::Result_type' {aka 'std::variant<CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_concrete_vertex, CGAL::internal::In_place_list_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Vertex, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_halfedge, CGAL::internal::In_place_list_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Halfedge, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_face, CGAL::internal::In_place_list_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Face, int, std::bidirectional_iterator_tag> >'})
:info:build   425 |       obj = pl.locate(second_point);
:info:build       |       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Object.h:37:7: note: candidate: 'CGAL::Object& CGAL::Object::operator=(const CGAL::Object&)'
:info:build    37 | class Object
:info:build       |       ^~~~~~
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Object.h:37:7: note:   no known conversion for argument 1 from 'CGAL::Arr_naive_point_location<CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > > >::Result_type' {aka 'std::variant<CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_concrete_vertex, CGAL::internal::In_place_list_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Vertex, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_halfedge, CGAL::internal::In_place_list_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Halfedge, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_face, CGAL::internal::In_place_list_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Face, int, std::bidirectional_iterator_tag> >'} to 'const CGAL::Object&'
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Object.h:37:7: note: candidate: 'CGAL::Object& CGAL::Object::operator=(CGAL::Object&&)'
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Object.h:37:7: note:   no known conversion for argument 1 from 'CGAL::Arr_naive_point_location<CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > > >::Result_type' {aka 'std::variant<CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_concrete_vertex, CGAL::internal::In_place_list_iterator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Vertex, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_halfedge, CGAL::internal::In_place_list_iterator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_halfedge<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Halfedge, int, std::bidirectional_iterator_tag>, CGAL::I_Filtered_const_iterator<CGAL::internal::In_place_list_const_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::_Is_valid_face, CGAL::internal::In_place_list_iterator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base>, std::allocator<CGAL::Arr_face<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck> >, CGAL::Gps_halfedge_base<CGAL::Arr_segment_2<CGAL::Epeck> >, CGAL::Gps_face_base> > >, CGAL::Arrangement_on_surface_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Arr_bounded_planar_topology_traits_2<CGAL::Gps_segment_traits_2<CGAL::Epeck>, CGAL::Gps_default_dcel<CGAL::Gps_segment_traits_2<CGAL::Epeck> > > >::Face, int, std::bidirectional_iterator_tag> >'} to 'CGAL::Object&&'
:info:build In file included from /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Boolean_set_operations_2/Gps_on_surface_base_2.h:29,
:info:build                  from /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Boolean_set_operations_2/Gps_polygon_validation.h:23:
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Arr_overlay_2.h: In instantiation of 'void CGAL::overlay(const Arrangement_on_surface_2<GeometryTraitsA_2, TopologyTraitsA>&, const Arrangement_on_surface_2<GeometryTraitsB_2, TopologyTraitsB>&, Arrangement_on_surface_2<GeometryTraitsRes_2, TopologyTraitsRes>&, OverlayTraits&) [with GeometryTraitsA_2 = const Gps_segment_traits_2<Epeck>; GeometryTraitsB_2 = const Gps_segment_traits_2<Epeck>; GeometryTraitsRes_2 = const Gps_segment_traits_2<Epeck>; TopologyTraitsA = Arr_bounded_planar_topology_traits_2<const Gps_segment_traits_2<Epeck>, Gps_default_dcel<const Gps_segment_traits_2<Epeck> > >; TopologyTraitsB = Arr_bounded_planar_topology_traits_2<const Gps_segment_traits_2<Epeck>, Gps_default_dcel<const Gps_segment_traits_2<Epeck> > >; TopologyTraitsRes = Arr_bounded_planar_topology_traits_2<const Gps_segment_traits_2<Epeck>, Gps_default_dcel<const Gps_segment_traits_2<Epeck> > >; OverlayTraits = Validation_overlay_traits<Arrangement_on_surface_2<const Gps_segment_traits_2<Epeck>, Arr_bounded_planar_topology_traits_2<const Gps_segment_traits_2<Epeck>, Gps_default_dcel<const Gps_segment_traits_2<Epeck> > > > >]':
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Boolean_set_operations_2/Gps_polygon_validation.h:746:10:   required from 'bool CGAL::are_holes_and_boundary_pairwise_disjoint(const typename Traits_2::Polygon_with_holes_2&, Traits_2&) [with Traits_2 = const Gps_segment_traits_2<Epeck>; typename Traits_2::Polygon_with_holes_2 = Polygon_with_holes_2<Epeck, std::vector<Point_2<Epeck>, std::allocator<Point_2<Epeck> > > >]'
:info:build /opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppCGAL/include/CGAL/Boolean_set_operations_2/Gps_polygon_validation.h:790:65:   required from 'bool CGAL::is_valid_polygon_with_holes(const typename Traits_2::Polygon_with_holes_2&, const Traits_2&) [with Traits_2 = Gps_segment_traits_2<Epeck>; typename Traits_2::Polygon_with_holes_2 = Polygon_with_holes_2<Epeck, std::vector<Point_2<Epeck>, std::allocator<Point_2<Epeck> > > >]'
. . . 
stla commented 3 months ago

Yes there are some problems. Normally they will go away once the new version of RcppCGAL will be released.