BerkeleyAutomation / meshpy

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

Fatal Error: "boost/python/numeric.hpp": No such file or directory #7

Open astha736 opened 5 years ago

astha736 commented 5 years ago

Hi,

I was trying to install the Meshy for Dex-Net when I faced the bellow error. `fatal error: boost/python/numeric.hpp: No such file or directory

include "boost/python/numeric.hpp"

`

How can I fix this? Please let me know.

Regards, Astha

kaixin-bai commented 4 years ago

Have you fixed it?

imbyjuli commented 4 years ago

Verision 1.65 of libboost does not include these files anymore. One could either edit the code to work with version 1.65. (using the boost/numpy.h file). This however requires editting of several variables in the code and was a huge hassle for me.

The easier option is to downgrad the libboost version to 1.58.

The easiest version however entirely, and mostly useful for installing Dex-Net is to use Ubuntu 16.04 instead of 18.04 since with 18.04 and melodic other problems down the line of installation appear which I have yet to fix.

zhongxiang117 commented 2 years ago

Thought it is years ago, it might be helpful when someone finds at this issue, the simplest solution without the edition of the original codes is to create a symbol link of the numpy.h file.

ln -s path/to/boost/numpy.hpp path/at/the/same/path/numeric.hpp
abhishek47kashyap commented 3 months ago

Creating the symbolic link didn't work me (I'm on Ubuntu 22.04, boost version 1.74.0.3ubuntu7)

[..] the simplest solution without the edition of the original codes is to create a symbol link of the numpy.h file.

ln -s path/to/boost/numpy.hpp path/at/the/same/path/numeric.hpp

What did work for me is making the changes to meshrender.cpp described at https://github.com/BerkeleyAutomation/dex-net/issues/64#issuecomment-874169037.