[Insight-users] Python wrapping in cvs version

Charles Moad cmoad at indiana.edu
Mon Aug 30 19:02:22 EDT 2004


	I did a cvs up today, and while trying to build I get the following  
error.  It has probably been 2-3 months since I last updated.  I have  
numarray set on.

Thanks,
	Charlie

/usr/local/src/itk/build-Insight/Wrapping/CSwig/Common: building  
default_target
Building object file wrap_itkPyBufferPython.o...
/usr/local/src/itk/Insight/Wrapping/CSwig/Common/itkPyBuffer.txx: In
    constructor `itk::PyBuffer<TImage>::PyBuffer() [with TImage =
    itk::Image<short unsigned int, 3>]':
/usr/local/src/itk/Insight/Wrapping/CSwig/Common/itkPyBuffer.h:57:    
instantiated from `static itk::SmartPointer<itk::PyBuffer<TImage> >  
itk::PyBuffer<TImage>::New() [with TImage = itk::Image<short unsigned  
int, 3>]'
/usr/local/src/itk/build-Insight/Wrapping/CSwig/Common/ 
wrap_itkPyBufferPython.cxx:1162:   instantiated from here
/usr/local/src/itk/Insight/Wrapping/CSwig/Common/itkPyBuffer.txx:32:  
error: `
    import_libnumarray' undeclared (first use this function)
/usr/local/src/itk/Insight/Wrapping/CSwig/Common/itkPyBuffer.txx:32:  
error: (Each
    undeclared identifier is reported only once for each function it  
appears
    in.)
make[5]: *** [wrap_itkPyBufferPython.o] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Common] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Wrapping_CSwig] Error 2
make: *** [default_target] Error 2



More information about the Insight-users mailing list