there is a bug.
There also a bug.
-- Build type: Release
-- Copying assets
-- Using header-only CGAL
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Found Boost: /home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/vcpkg/installed/x64-linux/include (found suitable version "1.79.0", minimum required is "1.48")
-- Boost include dirs: /home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/vcpkg/installed/x64-linux/include
-- Boost libraries:
-- Using gcc version 4 or later. Adding -frounding-math
-- Found Boost: /home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/vcpkg/installed/x64-linux/include (found version "1.79.0") found components: system filesystem
-- Found libigl:/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/external/libigl/include
-- Creating target: igl::core (igl)
-- Creating target: igl::cgal (igl_cgal)
CMake Deprecation Warning at external/libigl/external/embree/CMakeLists.txt:64 (cmake_policy):
The OLD behavior for policy CMP0072 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Detecting default ISA...
-- Detected default ISA: SSE2
-- Creating target: igl::embree (igl_embree)
-- Creating target: igl::opengl (igl_opengl)
-- Creating target: igl::opengl_glfw (igl_opengl_glfw)
-- Using X11 for window creation
-- Creating target: igl::opengl_glfw_imgui (igl_opengl_glfw_imgui)
-- Creating target: igl::png (igl_png)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/build
Consolidate compiler generated dependencies of target glfw
[ 11%] Built target glfw
Consolidate compiler generated dependencies of target glad
[ 12%] Built target glad
Consolidate compiler generated dependencies of target imgui
[ 17%] Built target imgui
Consolidate compiler generated dependencies of target imguizmo
[ 19%] Built target imguizmo
Consolidate compiler generated dependencies of target swept-volume
[ 25%] Built target swept-volume
Consolidate compiler generated dependencies of target ikfast
[ 26%] Built target ikfast
Consolidate compiler generated dependencies of target igl_stb_image
[ 28%] Built target igl_stb_image
Consolidate compiler generated dependencies of target sys
[ 35%] Built target sys
Consolidate compiler generated dependencies of target math
[ 36%] Built target math
Consolidate compiler generated dependencies of target simd
[ 37%] Built target simd
Consolidate compiler generated dependencies of target lexers
[ 39%] Built target lexers
Consolidate compiler generated dependencies of target tasking
[ 41%] Built target tasking
Consolidate compiler generated dependencies of target algorithms
[ 47%] Built target algorithms
Consolidate compiler generated dependencies of target embree
[ 83%] Built target embree
Consolidate compiler generated dependencies of target psg-core
[ 84%] Building CXX object CMakeFiles/psg-core.dir/include/passive-gripper/CostFunctions.cpp.o
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp: In function ‘double psg::MinDistance(const psg::GripperParams&, const psg::GripperSettings&, const psg::MeshDependentResource&)’:
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:49:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::Index’ {aka ‘long int’} [-Wsign-compare]
49 | for (size_t j = 1; j < fingers[i].rows(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:52:14: warning: unused variable ‘iters’ [-Wunused-variable]
52 | size_t iters = subs;
| ^~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:62:27: warning: comparison of integer expressions of different signedness: ‘long long int’ and ‘std::vector<Eigen::Matrix<double, 3, 1> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
62 | for (long long i = 0; i < d_fingers.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp: In function ‘double psg::ComputeFloorCost(Eigen::RowVector3d, Eigen::RowVector3d, double)’:
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:247:14: warning: suggest parentheses around comparison in operand of ‘!=’ [-Wparentheses]
247 | if (p0.y() < floor != p1.y() < floor) {
| ~~~~~~~^~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp: In lambda function:
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:301:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::Index’ {aka ‘long int’} [-Wsign-compare]
301 | for (size_t j = 0; j < fingers[i].rows() - 1; j++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp: In function ‘double psg::ComputeCost_SP(const psg::GripperParams&, const psg::GripperParams&, const psg::GripperSettings&, const psg::MeshDependentResource&, const psg::CostContext&)’:
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:324:27: warning: comparison of integer expressions of different signedness: ‘long long int’ and ‘std::vector<Eigen::Array<double, 6, 1> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
324 | for (long long i = 0; i < new_trajectory.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:341:29: warning: comparison of integer expressions of different signedness: ‘long long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
341 | for (long long i = 0; i < n_trajectory - 1; i++) {
| ~~^~~~~~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:362:29: warning: comparison of integer expressions of different signedness: ‘long long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
362 | for (long long i = 0; i < n_trajectory - 1; i++) {
| ~~^~~~~~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:365:13: warning: comparison of integer expressions of different signedness: ‘long long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
365 | if (i == n_trajectory - 2) iters++;
| ~~^~~~~~~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:366:31: warning: comparison of integer expressions of different signedness: ‘long long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
366 | for (long long j = 0; j < iters; j++) {
| ~~^~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:398:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::Index’ {aka ‘long int’} [-Wsign-compare]
398 | for (size_t j = 1; j < fingers[i].rows(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:406:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::Index’ {aka ‘long int’} [-Wsign-compare]
406 | for (size_t j = 1; j < fingers[i].rows(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:410:16: warning: unused variable ‘iters’ [-Wunused-variable]
410 | size_t iters = subs;
| ^~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/CostFunctions.cpp:425:31: warning: comparison of integer expressions of different signedness: ‘long long int’ and ‘std::vector<Eigen::Matrix<double, 3, 1> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
425 | for (long long j = 0; j < d_fingers.size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~
[ 85%] Building CXX object CMakeFiles/psg-core.dir/include/passive-gripper/GeometryUtils.cpp.o
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/GeometryUtils.cpp: In function ‘bool psg::ComputeConvexHull(const MatrixXd&, std::vector<long unsigned int>&, std::vector<std::vector<long unsigned int> >&)’:
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/GeometryUtils.cpp:262:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::Index’ {aka ‘long int’} [-Wsign-compare]
262 | for (size_t i = 0; i < points.rows(); i++) {
| ~~^~~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/GeometryUtils.cpp: In function ‘Eigen::Vector3d psg::CenterOfMass(const MatrixXd&, const MatrixXi&)’:
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/GeometryUtils.cpp:402:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::Index’ {aka ‘long int’} [-Wsign-compare]
402 | for (size_t i = 0; i < F.rows(); i++) {
| ~~^~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/GeometryUtils.cpp: In function ‘void psg::ComputeConnectivityFrom(const psg::MeshDependentResource&, const Vector3d&, std::vector<double>&, std::vector<int>&)’:
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/GeometryUtils.cpp:439:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::Index’ {aka ‘long int’} [-Wsign-compare]
439 | for (size_t i = 0; i < mdr.V.rows(); i++) {
| ~~^~~~~~~~~~~~~~
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/GeometryUtils.cpp:450:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Eigen::Index’ {aka ‘long int’} [-Wsign-compare]
450 | for (size_t i = 0; i < mdr.F.rows(); i++) {
| ~~^~~~~~~~~~~~~~
In file included from /home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/vcpkg/installed/x64-linux/include/CGAL/Polygon_mesh_processing/remesh.h:20,
from /home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/GeometryUtils.cpp:7:
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/vcpkg/installed/x64-linux/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h: In instantiation of ‘void CGAL::Polygon_mesh_processing::internal::Incremental_remesher<PolygonMesh, VertexPointMap, GeomTraits, EdgeIsConstrainedMap, VertexIsConstrainedMap, FacePatchMap, FaceIndexMap>::tangential_relaxation(bool, unsigned int) [with PolygonMesh = CGAL::Polyhedron_3<CGAL::Epick>; VertexPointMap = CGAL::internal::Point_accessor<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > > > >, CGAL::Point_3<CGAL::Epick>, CGAL::Point_3<CGAL::Epick>&, false>; GeomTraits = CGAL::Epick; EdgeIsConstrainedMap = CGAL::Static_boolean_property_map<CGAL::internal::HDS_edge<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true> > > > > > >, false>; VertexIsConstrainedMap = CGAL::Static_boolean_property_map<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > > > >, false>; FacePatchMap = CGAL::Polygon_mesh_processing::internal::Connected_components_pmap<CGAL::Polyhedron_3<CGAL::Epick>, CGAL::internal::Dynamic_property_map<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > > > >, long unsigned int> >; FaceIndexMap = CGAL::internal::Dynamic_property_map<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > > > >, long unsigned int>]’:
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/vcpkg/installed/x64-linux/include/CGAL/Polygon_mesh_processing/remesh.h:324:5: required from ‘void CGAL::Polygon_mesh_processing::isotropic_remeshing(const FaceRange&, const double&, PolygonMesh&, const NamedParameters&) [with PolygonMesh = CGAL::Polyhedron_3<CGAL::Epick>; FaceRange = CGAL::Iterator_range<CGAL::Prevent_deref<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > > > > > >; NamedParameters = CGAL::Named_function_parameters<long unsigned int, CGAL::internal_np::number_of_iterations_t, CGAL::internal_np::No_property>]’
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/include/passive-gripper/GeometryUtils.cpp:230:74: required from here
/home/pi/Desktop/RL_learning/PassiveGrippers/passive-gripper/vcpkg/installed/x64-linux/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h:1055:65: error: no matching function for call to ‘midpoint(CGAL::Polygon_mesh_processing::internal::Incremental_remesher<CGAL::Polyhedron_3<CGAL::Epick>, CGAL::internal::Point_accessor<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > > > >, CGAL::Point_3<CGAL::Epick>, CGAL::Point_3<CGAL::Epick>&, false>, CGAL::Epick, CGAL::Static_boolean_property_map<CGAL::internal::HDS_edge<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true> > > > > > >, false>, CGAL::Static_boolean_property_map<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > > > >, false>, CGAL::Polygon_mesh_processing::internal::Connected_components_pmap<CGAL::Polyhedron_3<CGAL::Epick>, CGAL::internal::Dynamic_property_map<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > > > >, long unsigned int> >, CGAL::internal::Dynamic_property_map<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > > > >, long unsigned int> >::Point, CGAL::Polygon_mesh_processing::internal::Incremental_remesher<CGAL::Polyhedron_3<CGAL::Epick>, CGAL::internal::Point_accessor<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > > > >, CGAL::Point_3<CGAL::Epick>, CGAL::Point_3<CGAL::Epick>&, false>, CGAL::Epick, CGAL::Static_boolean_property_map<CGAL::internal::HDS_edge<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_halfedge<CGAL::I_Polyhedron_halfedge<CGAL::HalfedgeDS_halfedge_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true>, CGAL::Boolean_tag<true> > > > > > >, false>, CGAL::Static_boolean_property_map<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_vertex<CGAL::I_Polyhedron_vertex<CGAL::HalfedgeDS_vertex_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Point_3<CGAL::Epick> > > > > >, false>, CGAL::Polygon_mesh_processing::internal::Connected_components_pmap<CGAL::Polyhedron_3<CGAL::Epick>, CGAL::internal::Dynamic_property_map<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > > > >, long unsigned int> >, CGAL::internal::Dynamic_property_map<CGAL::internal::In_place_list_iterator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > >, std::allocator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epick, CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>, std::allocator<int> >, CGAL::Boolean_tag<true>, CGAL::Plane_3<CGAL::Epick> > > > > >, long unsigned int> >::Point)’
1055 | barycenters.push_back( VNP(v, vn, CGAL::midpoint(midpoint(border_halfedges[0]),
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1056 | midpoint(border_halfedges[1]))) );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I think the main problem is that CGAL doesn't match your project.