[Insight-users] CSWIG compilation issue

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sat Jul 7 17:27:43 EDT 2007


Hi,

The way around them is to upgrade the version of swig used internally  
by cableswig - nothing straightforward - or to drop cableswig and  
switch to a native swig to wrap itk - still nothing straightforward.
In the mean time, you can turn the errors to warnings by using the - 
fpermissive gcc flag.

Regards,

Gaëtan



Le 7 juil. 07 à 22:29, Arthur Mikhno a écrit :

> Hi Kayhan,
>
> I am trying to compile ITK Python Wrappings with CableSwig, I keep  
> getting the following errors:
>
> /Develop/build/itk/Wrapping
> /CSwig/CommonA/SwigExtras_wrapPython.cxx:1322: warning: invalid  
> conversion from 'int*' to 'Py_ssize_t*'
> /Develop/build/itk/Wrapping/CSwig/CommonA/SwigExtras_wrapPython.cxx: 
> 1322: warning:   initializing argument 3 of 'int  
> PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)'
>
> I noticed you are getting similar warnings. Did you ever find a way  
> around them?
> http://public.kitware.com/pipermail/insight-users/2007-May/022414.html
>
> Mac
> Core2Duo
> Cmake 2.4-patch6
> ITK 3.2
> Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users

--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://public.kitware.com/pipermail/insight-users/attachments/20070707/a38d92fe/PGP.pgp


More information about the Insight-users mailing list