meshpy icon indicating copy to clipboard operation
meshpy copied to clipboard

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

Open astha736 opened this issue 6 years ago • 5 comments

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"

  • libboost-dev version (1.65.1.0ubuntu1)

How can I fix this? Please let me know.

Regards, Astha

astha736 avatar Jul 25 '19 08:07 astha736

Have you fixed it?

kaixin-bai avatar Nov 05 '19 12:11 kaixin-bai

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.

imbyjuli avatar Nov 29 '19 12:11 imbyjuli

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

zhongxiang117 avatar Feb 22 '22 11:02 zhongxiang117

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.

abhishek47kashyap avatar May 17 '24 17:05 abhishek47kashyap