[Dcmlib] Installing gdcmPython

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Jun 20 13:29:53 CEST 2007


Hi Benjamin,

  I suspect this is caused by python 2.5. I have never tried it
before. Could you please send me the file: gdcmPYTHON_wrap.cxx

Thanks
-Mathieu

On 6/19/07, Benjamin Goldenberg <bgoldenberg at numirabio.com> wrote:
> 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
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>


-- 
Mathieu



More information about the Dcmlib mailing list