[Insight-users] error building cvs py wrappers

Brad King brad.king at kitware.com
Fri Apr 8 14:13:53 EDT 2005


John Hunter wrote:
>>>>>>"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 :-)

Excellent.  Please update the bug report with this new information:

http://www.itk.org/Bug/bug.php?op=show&bugid=1755

> -- 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?

Please send me the file 
/home/jdhunter/python/cvs/Insight/Wrapping/CSwig/Tcl/cmake_install.cmake.

Thanks,
-Brad


More information about the Insight-users mailing list