CGAL compilation error
rom /scratch/cioctopu/static/8859339100/octopus-code/octopus/src/basic/cgal_polyhedra_low.cc:30:
/opt_mpsd/linux-debian12/25a/sandybridge/spack/opt/spack/linux-debian12-sandybridge/gcc-12.3.0/cgal-5.5.2-isbokxtd7nzy5kwsesa2shniqxt475gh/include/CGAL/Intersections_3/internal/Plane_3_Triangle_3_intersection.h: In function 'typename CGAL::Intersection_traits<K, typename K::Plane_3, typename K::Triangle_3>::result_type CGAL::Intersections::internal::intersection(const typename K::Plane_3&, const typename K::Triangle_3&, const K&)':
/opt_mpsd/linux-debian12/25a/sandybridge/spack/opt/spack/linux-debian12-sandybridge/gcc-12.3.0/cgal-5.5.2-isbokxtd7nzy5kwsesa2shniqxt475gh/include/CGAL/Intersections_3/internal/Plane_3_Triangle_3_intersection.h:144:65: error: 'prior' is not a member of 'boost'; did you mean 'boost::mpl::prior'?
144 | k.construct_segment_3_object()(*pts.begin(), *boost::prior(pts.end())));
| ^~~~~
Manually adding #include <boost/next_prior.hpp>
to Plane_3_Triangle_3_intersection.h
fixes the problem. It is not clear why this did not happen in the old software release, might be related to an older boost version in the old release.
Edited by Martin Lang