selective_search_py icon indicating copy to clipboard operation
selective_search_py copied to clipboard

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

Open praneethmendu opened this issue 9 years ago • 3 comments

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 avatar Jan 02 '17 17:01 praneethmendu

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

praneethmendu avatar Jan 02 '17 21:01 praneethmendu

I met this too

luntai avatar May 16 '17 06:05 luntai

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"

iammix avatar Nov 02 '22 19:11 iammix