[Insight-users] error building cvs py wrappers

John Hunter jdhunter at ace.bsd.uchicago.edu
Fri Apr 8 12:29:06 EDT 2005


>>>>> "John" == John Hunter <jdhunter at ace.bsd.uchicago.edu> writes:
    John> /home/jdhunter/python/cvs/Insight/Wrapping/CSwig/CommonA/itkPyBuffer.txx:32:
    John> error: ` import_libnumarray' undeclared (first use this
    John> function)

With the help of Gaetan Lehmann offlist, I was able to fix this
problem by adding 

#include <libnumarray.h>

to itkPyBuffer.h and successfully compile itk with tcl and python
bindings -- many CPU cycles later :-)

I am getting a crash on the install though.

> sudo make install 

...snip

-- Installing /usr/local/lib/InsightToolkit/tcl/itktesting.tcl
-- Installing /usr/local/lib/InsightToolkit/tcl/itkdata.tcl
-- Installing /usr/local/bin/itkwish
-- Installing /usr/local/bin/itkwish.dir
CMake Error: Error in cmake code at
/home/jdhunter/python/cvs/Insight/Wrapping/CSwig/Tcl/cmake_install.cmake:12:
FILE cannot copy file: /home/jdhunter/python/cvs/Insight/Wrapping/CSwig/Tcl/itkwish.dir to directory : /usr/local/bin.

It looks like make is trying to copy the itkwish.dir *directory* to
/usr/local/bin when perhaps it meant to copy a file?

JDH 



More information about the Insight-users mailing list