PY_NUMPY_BUFFER_FORMAT declared conditionally but used unconditionally
Opened this issue · 2 comments
umlaeute commented
grybouilli commented
I manage to build replacing the line
view->format = (flags & PyBUF_FORMAT) ? (char *) PY_NUMPY_BUFFER_FORMAT : NULL;
with
view->format = (flags & PyBUF_FORMAT) ? ((Py_buffer*)view)->format : NULL;
But I'm getting linking errors on loading the py.pd_linux external in puredata... (says symbol PyExc_ValueError
is undefined even tho I make sure to link -lpython3 at build time...)
grybouilli commented
But I'm getting linking errors on loading the py.pd_linux external in puredata... (says symbol
PyExc_ValueError
is undefined even tho I make sure to link -lpython3 at build time...)
Had to set rpath for better linking. Made a pull request for linking reinforcement and newer numpy versions support