I had a problem today compiling the PyBuffer extension to WrapITK. I got a bunch of errors like this:
…/ExternalProjects/PyBuffer/itkPyBuffer.txx: In static member function ‘static PyObject* itk::PyBuffer<TImage>::GetArrayFromImage(TImage*) [with TImage = itk::Image<float, 2u>]’: …/ExternalProjects/PyBuffer/wrap_itkPyBufferPython.cxx:1397: instantiated from here …/ExternalProjects/PyBuffer/itkPyBuffer.txx:64: error: cannot convert ‘int*’ to ‘npy_intp*’ in argument passing
Well, I spent hours looking at . . . → Read More: Doing the obvious