[Insight-users] Problem with wrapping itk with python 2.3

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Mon Nov 16 10:24:19 EST 2009


Le 16 nov. 09 à 13:32, alex sando a écrit :

> hi all,
>   I am currently working on an legacy system which is composed under  
> python 2.3. Is there any method that could help me to create the itk  
> python wrap under python 2.3? I search for a while on the internet  
> and find the wrapitk is a great tool for using itk under python  
> environment, but its requirement for  the version of python is at  
> least 2.4...I also tried to compile the wrap using cmake, but failed  
> with
>
>
> CMake Warning at CMakeLists.txt:173 (FIND_PACKAGE):
> Could not find module FindCableSwig.cmake or a configuration file for
> package CableSwig.
> Adjust CMAKE_MODULE_PATH to find FindCableSwig.cmake or set  
> CableSwig_DIR
> to the directory containing a CMake configuration file for  
> CableSwig. The
> file will have one of the following names:
> CableSwigConfig.cmake
> cableswig-config.cmake
> CMake Error at CMakeLists.txt:185 (MESSAGE):
> CableSwig is required for CSwig Wrapping.
> Configuring incomplete, errors occurred!
>
> But in fact i set the CableSwig_DIR directory correctly... Is there  
> any suggestion to get itk work under python 2.3.....great  
> appreciate....


Hi Alex,

I think that WrapITK 0.2 - in ITK sources - *should* work with python  
2.3.

Can you give more informations on your system? OS, cmake version,  
compiler, ITK version, CableSwig version, …

Regards,

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

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


More information about the Insight-users mailing list