Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
astha736 opened this issue Jul 25, 2019 · 4 comments
Open

Comments

@astha736
Copy link

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

@kaixin-bai
Copy link

Have you fixed it?

@imbyjuli
Copy link

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
Copy link

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
Copy link

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 BerkeleyAutomation/dex-net#64 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants