<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:14pt"><div>Hi,<br><br>This is my first time compiling ITK with CableSwig. I experienced following problem compiling ITK with&nbsp; CableSwig when I turned&nbsp;&nbsp;  "ITK_CSWIG_PYTHON" ON.&nbsp; I also turn "USE_OF_NUMPY" on. Here is version of packages I am using:<br><br>CPU:&nbsp; Dual core 2<br>OS: Linux Suse 10.2<br>InsightToolkit-3.2.0<br>vtkdata-5.0.3<br>Python 2.5 (r25:51908, Jan&nbsp; 9 2007, 17:00:50)<br>ccmake version 2.4-patch 3<br>CableSwig-ITK-3.2.0<br><br>note: When I was compiling CSwig it complains about ccmake version but since I installed the previous version, Ididn't uninstall it, I just run new ccmake and it works (create the make file without any complain).<br><br>Here is the error message I received:<br>*********************************************<br>................<br>&nbsp; init module:
 vnl_vector_ref<br>Scanning dependencies of target _VXLNumericsPython<br>[ 45%] Building CXX object Wrapping/CSwig/VXLNumerics/CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_matrixPython.o<br>[ 45%] Building CXX object Wrapping/CSwig/VXLNumerics/CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_vectorPython.o<br>[ 45%] Building CXX object Wrapping/CSwig/VXLNumerics/CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_c_vectorPython.o<br>[ 45%] Building CXX object Wrapping/CSwig/VXLNumerics/CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_diag_matrixPython.o<br>[ 45%] Building CXX object Wrapping/CSwig/VXLNumerics/CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_file_matrixPython.o<br>/home/batmangn/bin/InsightToolkit-3.2.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_file_matrixPython.cxx: In function ˇint SWIG_AsCharPtrAndSize(PyObject*, char**, size_t*)˘:<br>/home/batmangn/bin/InsightToolkit-3.2.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_file_matrixPython.cxx:923: error: cannot convert ˇint*˘ to ˇPy_ssize_t*˘ for
 argument ˇ3˘ to ˇint PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)˘<br>make[2]: *** [Wrapping/CSwig/VXLNumerics/CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_file_matrixPython.o] Error 1<br>make[1]: *** [Wrapping/CSwig/VXLNumerics/CMakeFiles/_VXLNumericsPython.dir/all] Error 2<br>make: *** [all] Error 2<br><br>******************************************<br>Do you think that it happens due to the cmake version issue. By the way,I think there is a minor mistake in&nbsp; "cmake-2.4.6-Linux-i386.sh". In spite of the fact that the version of file is 2.4.6, when you install it using "sh cmake-2.4.6-Linux-i386.sh", the installed ccmake would be "2.4-patch 3" not "2.4-patch 6". I think it needs to be fixed. If you think that the problem was caused by cmake, I would be thankful if you tell how can I uninstall it because cmake; because installer distributed that in various places.<br><br><br>Sincerely,<br>Kayhan &nbsp;  <br></div></div><br>
      <hr size=1>Fussy? Opinionated? Impossible to please? Perfect.  <a href="http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 ">Join Yahoo!'s user panel</a> and lay it on us.
</body></html>