[Insight-users] Unable to compile ITK CVS with gcc-4.3

Abhishek Banerjee a.banerjee at ymail.com
Fri Jul 18 13:35:43 EDT 2008


I am trying to compile ITK (CVS) with gcc 4.3...cmake-2.4, python-2.5, TCL/TK-8.5....but i am getting this error again and again 


[ 67%] Building CXX object Wrapping/CSwig/IO/CMakeFiles/ITKIOTcl.dir/itkTkImageViewer2D..o
/home/abhishek/extra/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx: In member function ‘void itk::TkImageViewer2D::Draw()’:
/home/abhishek/extra/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:120: error: invalid conversion from ‘void*’ to ‘Tcl_Interp*’
/home/abhishek/extra/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:120: 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/abhishek/extra/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:120: error: at this point in file
/home/abhishek/extra/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:149: 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/abhishek/extra/Insight/Wrapping/CSwig/IO/itkTkImageViewer2D.cxx:149: 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

plz help me 

thanking you 
abhishek



      From Chandigarh to Chennai - find friends all over India. Go to http://in.promos.yahoo.com/groups/citygroups/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080718/f8dd96bb/attachment.htm>


More information about the Insight-users mailing list