BerkeleyAutomation / meshpy

A 3-D triangular mesh package for Python.
Apache License 2.0
42 stars 21 forks source link

which boost version does the package depending on? #1

Closed wjbaibai closed 6 years ago

wjbaibai commented 6 years ago

I just install the newest version of boost( 1.65.1), but the package could not find boost.numpy which should be included in new version boost.

Also, it needs python2.7, right?

Wish you guys could help me, it seems useful, but I just cannot figure out.

Here is the info after I try cmake the files:

(deep27) angela@brick4:~/Documents/code/00-github/meshpy$ ./install_meshrender.sh
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
  Imported targets not available for Boost version 106501
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:8 (FIND_PACKAGE)

-- Could NOT find Boost
-- Configuring done
-- Generating done
-- Build files have been written to: /home/angela/Documents/code/00-github/meshpy
make: *** No targets specified and no makefile found.  Stop.
cp: cannot stat 'meshpy/meshrender.so': No such file or directory
wjbaibai commented 6 years ago

boost.numpy is now a part of boost.python so this causes issues like: fatal error: boost/numpy.hpp: No such file or directory

this was solved by editing meshpy.cpp :

"#include source boost/numpy.hpp replaced by boost/python/numpy.hpp all namespaces boost::numpy… replaced by boost::python::numpy