Closed waebbl closed 4 years ago
I am working on incorporating your fixes into openvdb. They do resolve the above issue, but when I enable the new numpy USE flag, I get a similar error.
-- Found Python: /usr/bin/python3.7) (found suitable version "3.7.7", minimum required is "2.7")
-- Found NumPy: /usr/lib/python3.7/site-packages/numpy/core/include (found suitable version "1.17.4", minimum required is "1.12.1")
-- Found boost_python37
CMake Error at openvdb/python/CMakeLists.txt:209 (message):
Unable to find boost_numpy37, boost_numpy3 or boost_numpy.
Did you get numpy to work on your system? Perhaps I have not integrated your changes properly.
Yes it's working on my system. I have numpy and boost[numpy] installed, as well as numpy-python2 (still needed by 2 packages). The error above looks like you have boost installed without numpy USE flag. You might also try to update to numpy-1.18.
Thanks, boost[numpy] was masked in package.use.stable.mask so it wasn't compiled in. Now openvdb compiles with numpy enabled
I haven't tried 6.2.1. Both fail with a similar error on boost_python.
5.2.0:
7.0.0:
Looks like the selection of boost and python packages could need some improvement. I'm having python 3.{6,7,8} installed, but so far only boost-1.71.0 which doesn't support python 3.8 (can't update at this time, due to some packages still need python 2.7 boost, which isn't available anymore in boost-1.72.0-r1. Additionally blender-2.81a doesn't support python-3.8, so this should IMO be excluded from the search.