[Insight-users] wrapitk under vista 64 bit

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Tue Feb 10 16:31:44 EST 2009


Le 10 févr. 09 à 22:12, Gen-Nan Chen a écrit :

> You are right about swig. That is exactly where went wrong. let me  
> try 1.3.36 and see if that is going to work.

According to the comments I found in swig bugtracker, swig 1.3.36 and  
python 2.6 will produce many warnings while importing the modules.
A better option may be to patch swig's Source/Modules/python.cxx to  
implement the fix I suggested in the bug I filed (and attach that  
patch to the bug).

Regards,

Gaëtan

>
>
> Gen
>
> On Tue, Feb 10, 2009 at 10:43 AM, Gen-Nan Chen <gnchen at gmail.com>  
> wrote:
> I will give it a try on 2.5.4 later.
>
> Gen
>
>
> On Mon, Feb 9, 2009 at 4:01 PM, Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr 
> > wrote:
>
> Le 9 févr. 09 à 22:46, Gaëtan Lehmann a écrit :
>
>
>
> Le 9 févr. 09 à 22:29, Gen-Nan Chen a écrit :
>
> Guys,
>
> I did manage to get the current wrapitk svn check out  compiled into  
> pyd  (with a lot of swear and waiting...) in
>
> Vista, 64 bit
> MS VS 9 SP1 64 bit
> Python 2.6.1 64 bit.
>
> Unfortunately, all tests failed. And it seems something wrong  in  
> the swig wrapper code. It has the code to load module which did not  
> exist for Python >= 2.6, such as
> _pyBasePython
> _vnl_complex_*
>
>
> Any one has any idea??
>
>
> Hi,
>
> Can you post the exact error message?
>
> I don't think anyone has built wrapitk on python 2.6. Looking at the  
> code at the beginning of the modules generated by swig, I doubt it  
> would work with that version.
> You may want to try python 2.5...
>
>
> I think that's a bug in swig 1.3.37 and 1.3.38. I've filed a bug  
> report
> https://sourceforge.net/tracker/index.php?func=detail&aid=2583160&group_id=1645&atid=101645
>
>
> Gaëtan
>
>
> -- 
> 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  http://www.mandriva.org
> http://www.itk.org  http://www.clavier-dvorak.org
>
>
>
>
> -- 
> Gen-Nan Chen, Ph. D.
> email: gnchen at gmail.com
>
>
>
> -- 
> Gen-Nan Chen, Ph. D.
> email: gnchen at gmail.com

-- 
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  http://www.mandriva.org
http://www.itk.org  http://www.clavier-dvorak.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090210/372155f1/attachment.pgp>


More information about the Insight-users mailing list