[Insight-developers] ITK wrapping status

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sat Oct 16 15:24:21 EDT 2010


Le 16 oct. 10 à 21:18, Michal Suchanek a écrit :

> 2010/10/14 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>>
>> Hi Michal,
>>
>> ITK 4.0 wrappers will be based on the last version of WrapITK,  
>> which is
>> currently available in a separate project hosted by googlecode.
>>
>>  http://wrapitk.googlecode.com
>>
>> The last version in trunk is nightly tested for python and java  
>> against the
>> last ITK version from ITK's repository.
>>
>
> Is there something special needed to build the wrappings?
>

You must turn on ITK_USE_REVIEW when configuring ITK.

Gaëtan



> For me the build stops quite early with either ITK 3.18 or ITK 4  
> installed.
>
> It looks like some of the referenced headers aren't ever installed but
> others are but are still not found by the wrappings build.
>
> Thanks
>
> Michal
>
> dpkg: *itkStatisticsLabelObject.h* not found.
> libinsighttoolkit4-dev:
> /usr/include/InsightToolkit/Review/Statistics/itkHistogram.h
> dpkg: *itkLabelMap.h* not found.
>
> ../../ITK/Code/Review/itkStatisticsLabelObject.h
> ../../ITK/Code/Review/itkLabelMap.h
>
> ../../ITK/Code/Numerics/Statistics/itkHistogram.h
> ../../ITK/debian/tmp/usr/include/InsightToolkit/Review/Statistics/ 
> itkHistogram.h
> ../../ITK/debian/libinsighttoolkit4-dev/usr/include/InsightToolkit/ 
> Review/Statistics/itkHistogram.h
>
>
> $ make
> Scanning dependencies of target install_wrapitk_compatibility
> [  0%] Built target install_wrapitk_compatibility
> Scanning dependencies of target copy_python_files
> [  0%] Copying itk.py to build dir.
> [  0%] Copying itkBase.py to build dir.
> [  0%] Copying itkTemplate.py to build dir.
> [  0%] Copying itkTypes.py to build dir.
> [  0%] Copying itkLazy.py to build dir.
> [  1%] Built target copy_python_files
> Scanning dependencies of target copy_python_extras_files
> [  1%] source copy
> [  1%] Built target copy_python_extras_files
> Scanning dependencies of target ITKPyBaseIdx
> [  1%] Built target ITKPyBaseIdx
> Scanning dependencies of target ITKPyBaseSwig
> [  1%] Built target ITKPyBaseSwig
> [  1%] Generating wrap_pyBasePython.cpp, ../../../lib/pyBasePython.py
> [  1%] Generating ITKPyBasePython.cpp, ../../../lib/ITKPyBasePython.py
> Scanning dependencies of target ITKPyBasePython
> [  1%] Building CXX object
> Languages/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/ 
> ITKPyBasePython.o
> [  1%] Building CXX object
> Languages/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/ 
> wrap_pyBasePython.o
> Linking CXX shared module ../../../lib/_ITKPyBasePython.so
> [  1%] Built target ITKPyBasePython
> Scanning dependencies of target ITKJavaBaseIdx
> [  1%] Built target ITKJavaBaseIdx
> Scanning dependencies of target ITKJavaBaseSwig
> [  1%] Built target ITKJavaBaseSwig
> [  1%] Generating ../Proxies/src/org/itk/itkjavabase/dummy
> [  1%] Generating Java wrap files for class  
> org.itk.itkjavabase.javaBase
> Scanning dependencies of target ITKJavaBaseJava
> [  1%] Building CXX object
> Languages/Java/JavaBase/CMakeFiles/ITKJavaBaseJava.dir/ 
> wrap_javaBaseJava.o
> Linking CXX shared module ../../../lib/libITKJavaBaseJava.so
> [  1%] Built target ITKJavaBaseJava
> Scanning dependencies of target ITKJavaBaseJavaJar
> [  1%] Compiling java proxies: org.itk.itkjavabase
> [  1%] Creating java archive: org.itk.itkjavabase.jar
> [  1%] Built target ITKJavaBaseJavaJar
> Scanning dependencies of target VXLNumericsIdx
> [  1%] Generating wrap_vcl_complex.xml
> /scratch/itk/wrapitk-read-only/build/Libraries/VXLNumerics/ 
> wrap_vcl_complex.cxx:2:38:
> error: itkStatisticsLabelObject.h: No such file or directory
> /scratch/itk/wrapitk-read-only/build/Libraries/VXLNumerics/ 
> wrap_vcl_complex.cxx:19:26:
> error: itkHistogram.h: No such file or directory
> /scratch/itk/wrapitk-read-only/build/Libraries/VXLNumerics/ 
> wrap_vcl_complex.cxx:20:25:
> error: itkLabelMap.h: No such file or directory
> make[2]: *** [Libraries/VXLNumerics/wrap_vcl_complex.xml] Error 1
> make[1]: *** [Libraries/VXLNumerics/CMakeFiles/VXLNumericsIdx.dir/ 
> all] Error 2
> make: *** [all] Error 2

-- 
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/mailman/private/insight-developers/attachments/20101016/af71e9dd/attachment-0001.pgp>


More information about the Insight-developers mailing list