Error in setup.py build: " error: no matching function for call to [...] 976 | tree.accelerate_distance_queries(); "
Opened this issue · 0 comments
Hello.
I am trying to install the library in a Linux-based remote cluster. Since I do now have sudo rights, I have tried installing the dependencies (such as CGAL) from either source or conda, using different combinations of versions of Python (3.7 and 3.10) and version of CGAL (5.6.1 and 4.13). Unfortunately, I keep running into the error shown below when running "python3 setup.py build -j 1".
Would it be possible for you to share which package releases are working for you? Have requirements changed apart from Python3.6+ and PyTorch >1.4.0 ?
Thank you.
Error (part of):
/home/andchri/Spherical-Package/ext_modules/src/cpp/triangle_mesh.cpp:976:35: error: no matching function for call to 'CGAL::AABB_tree<CGAL::AABB_traits<CGAL::Simple_cartesian, spherical::mesh::My_triangle_primitive> >::accelerate_distance_queries() const'
976 | tree.accelerate_distance_queries();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/andchri/CGAL-5.6.1/include/CGAL/Side_of_triangle_mesh.h:25,
from /home/andchri/CGAL-5.6.1/include/CGAL/Polygon_mesh_processing/orientation.h:27,
from /home/andchri/CGAL-5.6.1/include/CGAL/polygon_mesh_processing.h:29,
from /home/andchri/Spherical-Package/ext_modules/include/cpp/triangle_mesh.h:19,
from /home/andchri/Spherical-Package/ext_modules/src/cpp/triangle_mesh.cpp:1: