[Dcmlib] Installing gdcmPython

Benjamin Goldenberg bgoldenberg at numirabio.com
Tue Jun 19 21:23:11 CEST 2007


Hello,
I have been trying to install the gdcmPython libraries using the 
instructions here <http://www.creatis.insa-lyon.fr/Public/Gdcm/>. I am 
using a Windows XP system with Cygwin. I have installed SWIG 1.3.29-2, 
cmake 2.4.6 and am using Python 2.5.1. When I attempt to generate the 
makefiles using cmake, there are numerous errors at the very end of the 
generation process. (cmake even reports the progress as 100%). This is 
the following output

/cygdrive/c/gdcmBin/gdcmPython/gdcmPYTHON_wrap.cxx: In function `int 
SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)':
/cygdrive/c/gdcmBin/gdcmPython/gdcmPYTHON_wrap.cxx:2051: error: invalid 
conversion from `const char*' to `char*'
/cygdrive/c/gdcmBin/gdcmPython/gdcmPYTHON_wrap.cxx: In function `void 
SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, 
swig_type_info**)
':
/cygdrive/c/gdcmBin/gdcmPython/gdcmPYTHON_wrap.cxx:25450: error: invalid 
conversion from `const char*' to `char*'

Any help would be much appreciated.

Thank you,
Benjamin Goldenberg
Numira Biosciences



More information about the Dcmlib mailing list