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

boost.numpy now is a part of boost.python so it resides in boost/python instead of #24

Open
praneethmendu opened this issue Jan 2, 2017 · 3 comments

Comments

@praneethmendu
Copy link

disclaimer: first time noob, please be forgiving

I get the error :
fatal error: boost/numpy.hpp: No such file or directory

and I found numpy.hpp in my installation under boost/python ( I am using the latest version of boost: 1.63)

as per their github:
"
NumPy support is scheduled to be included in Boost release 1.63, and is already available on the Boost.Python master branch (https://github.com/boostorg/python/tree/master). The interface is the same as Boost.Numpy, but in a different namespace.

There are currently no plans for further development on this independent package. "

So, I guess this will be a persistent issue

Also, can someone suggest a temporary fix?

@praneethmendu
Copy link
Author

I tried to solve this issue with a fork : https://github.com/praneethmendu/selective_search_py-boost_v1.63

but there is no backward compatibility

@luntai
Copy link

luntai commented May 16, 2017

I met this too

@iammix
Copy link

iammix commented Nov 2, 2022

You can add <boost/python/numpy.hpp> in the include and replace the namespaces in segment_py.cpp file the "boost::numpy::" with the "boost::python::numpy"

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

3 participants