Closed okanisis closed 8 years ago
I am getting the same error. Any known fixes?
I changed the title to clearly state the source of the problem.
I haven't worked on the 4.7 support yet. I'll signal on this issue when I start working on that, @mhugo will do the same he gets there before I do.
I think it may just be a matter of looking for the function in the 4.7 version if it is somewhere else.
PR/funding are welcome to speed things up.
The Reproducible Builds Team ran into this issue too as reported in Debian Bug #804589. That Release Critical bug will result in the removal of the sfcgal package from testing (and by extension the next stable release) if it remains unfixed.
I hope funding won't be required to get this issue fixed like the GRASS 7 support in the QGIS plugin. If it's easy to fix I'll forward the patch for the Debian package in a PR.
I don't see an easy fix to support both CGAL 4.7 and earlier versions, but it seems that Side_of_triangle_mesh
is a suitable alternative in 4.7 to Point_inside_polyhedron_3
in 4.6:
include/CGAL/intersection_of_Polyhedra_3_refinement_visitor.h
switched its Inside_poly_test
typedef from Point_inside_polyhedron_3<Polyhedron, Kernel>
in 4.6 to Side_of_triangle_mesh<Polyhedron, Kernel>
in 4.7.
This can probably be used for is_in_poly()
in SFCGAL too.
@sebastic Thanks for these clues. I've fixed SFCGAL to compile with CGAL 4.7 on master. I am working on travis to add CGAL 4.7 test I will release a 1.2.1 to fix this.
@sebastic There is now a 1.2.1 release which compiles with CGAL 4.7
@mhugo, thanks for the quick fix. The Debian package build with CGAL 4.7 is looking good.
@sebastic FYI a new 1.2.2 release is out (1.2.1 did not include the correct version number)
Upgraded CAL to 4.7 on Linux and when trying to compile SFCGAL 1.2.0 it results in the following error:
It looks like the Point_inside_polyhedron_3.h file isn't included in CGAL 4.7 anymore.