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

alex sando yejun.alex at gmail.com
Mon Nov 16 13:14:45 EST 2009


hello Gaëtan

Currently i use itk 3.14 and Cableswig 3.14 and wrapitk0.2 in the source of
itk 3.14. But when i build wrapitk, it failed with a lot of
"itkFlatStructuringElement.h: No such file or directory" error.... can you
give me any suggestion to solve this? many thanks, my platform is xp with
vs2005 and cmake 2.8.

Regards,

Alex

2009/11/16 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>

>
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091117/df9818fe/attachment.htm>


More information about the Insight-users mailing list