fails to build against CGAL 5.6: 'has_Has_features' is not a member of 'CGAL::Mesh_3::internal'

Issue #101 resolved
Drew Parsons created an issue
In file included from /build/mshr-2019.2.0~git20200924.c27eb18+dfsg1/src/CSGCGALMeshGenerator3D.cpp:43:
/build/mshr-2019.2.0~git20200924.c27eb18+dfsg1/src/make_multicomponent_mesh_3.h: In function 'void make_multicomponent_mesh_3_impl(C3T3&, const MeshDomain&, const MeshCriteria&, const CGAL::parameters::internal::Exude_options&, const CGAL::parameters::internal::Perturb_options&, const CGAL::parameters::internal::Odt_options&, const CGAL::parameters::internal::Lloyd_options&, bool, const CGAL::parameters::internal::Mesh_3_options&)':
/build/mshr-2019.2.0~git20200924.c27eb18+dfsg1/src/make_multicomponent_mesh_3.h:44:29: error: 'has_Has_features' is not a member of 'CGAL::Mesh_3::internal'; did you mean 'CGAL::internal::has_Has_features'?
   44 |     CGAL::Mesh_3::internal::has_Has_features<MeshDomain>::value > () (c3t3,
      |                             ^~~~~~~~~~~~~~~~

Comments (3)

  1. Drew Parsons reporter

    apply debian patch build_CGAL5.6.patch for CGAL 5.6

    Allow for internal path to has_Has_features in CGAL 5 higher or lower than 5.6.

    Named parameters can no longer be handled as separate variables in CGAL 5.6. Different values are not used anyway, so invoke named parameters directly when calling the CGAL mesh function (refine_mesh_3)

    Closes: #101.

    → <<cset a16077050edc>>

  2. Log in to comment