[Insight-users] Error compiling ITK CVS

Alfonso Castro alfonsocastro at udc.es
Fri Jul 11 09:50:24 EDT 2008


Hi,

I'm trying to compile ITK CVS with CableSwig, wrap Python and wrap TCL.
Because the problems with ITK 2.6 and gcc 4.3.1.

I'm using OpenSuSE 11 x86_64 and I have installed tcl (8.5.2),
tcl-devel, tck (8.5.2) and tck-devel. However, I am obtaining the same
error:


[ 33%] wrap_itkTkImageViewer2D.xml from 
[ 33%] wrap_itkTkImageViewer2D.idx from 
[ 33%] wrap_itkTkImageViewer2DTcl.cxx from 
[ 33%] Building CXX object
Wrapping/CSwig/IO/CMakeFiles/ITKIOTcl.dir/wrap_itkTkImageViewer2DTcl.o
[ 33%] Building CXX object
Wrapping/CSwig/IO/CMakeFiles/ITKIOTcl.dir/itkTkImageViewer2D.o
/home/alfonso/toolkits/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:
In member function ‘void itk::TkImageViewer2D::Draw()’:
/home/alfonso/toolkits/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:117: error: invalid conversion from ‘void*’ to ‘Tcl_Interp*’
/home/alfonso/toolkits/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:117: error: invalid conversion from ‘int’ to ‘void*’
/usr/include/tkDecls.h:1669: error: too few arguments to function ‘int
Tk_PhotoSetSize(Tcl_Interp*, void*, int, int)’
/home/alfonso/toolkits/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:117: error: at this point in file
/home/alfonso/toolkits/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:146: error: invalid conversion from ‘void*’ to ‘Tcl_Interp*’
/usr/include/tkDecls.h:1654: error: too few arguments to function ‘int
Tk_PhotoPutBlock(Tcl_Interp*, void*, Tk_PhotoImageBlock*, int, int, int,
int, int)’
/home/alfonso/toolkits/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:146: error: at this point in file
make[2]: ***
[Wrapping/CSwig/IO/CMakeFiles/ITKIOTcl.dir/itkTkImageViewer2D.o] Error 1
make[1]: *** [Wrapping/CSwig/IO/CMakeFiles/ITKIOTcl.dir/all] Error 2
make: *** [all] Error 2


Can someone help me? Thanks.

Alfonso Castro
Dept. of Information and Communication Technologies
Faculty of Computer Science
University of A Coruna




More information about the Insight-users mailing list