[Insight-developers] ITK wrapping status
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Sat Oct 16 16:19:10 EDT 2010
Le 16 oct. 10 à 22:12, Michal Suchanek a écrit :
> 2010/10/16 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>>
>> 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.
>>
>
> Indeed, the error has changed with this option enabled.
>
> Still the ithHistogram is not found as it was not previously.
That's a bit odd.
Are you using the last git version of ITK and the last svn version of
wrapitk?
Gaëtan
>
> Thanks
>
> Michal
>
> libinsighttoolkit4-dev:
> /usr/include/InsightToolkit/Review/Statistics/itkHistogram.h
this file doesn't exist anymore in ITK 4.
[glehmann at gbook ITK]$ find Code/ -name itkHistogram.h
Code//Numerics/Statistics/itkHistogram.h
[glehmann at gbook ITK]$
>
> [ 1%] Generating wrap_vcl_complex.xml
> In file included from
> /scratch/itk/wrapitk-read-only/build/Libraries/VXLNumerics/
> wrap_vcl_complex.cxx:2:
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:21:26:
> error: itkHistogram.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
> In file included from
> /scratch/itk/wrapitk-read-only/build/Libraries/VXLNumerics/
> wrap_vcl_complex.cxx:2:
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:76:
> error: 'Statistics' has not been declared
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:76:
> error: ISO C++ forbids declaration of 'Histogram' with no type
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:76:
> error: typedef name may not be a nested-name-specifier
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:76:
> error: expected ';' before '<' token
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:436:
> error: ISO C++ forbids declaration of 'HistogramType' with no type
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:436:
> error: expected ';' before '*' token
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:441:
> error: expected `;' before 'void'
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:441:
> error: expected ',' or '...' before '*' token
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:441:
> error: ISO C++ forbids declaration of 'HistogramType' with no type
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:588:
> error: 'HistogramType' has not been declared
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h: In
> member function 'void itk::StatisticsLabelObject<TLabel,
> VImageDimension>::SetHistogram(int)':
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:443:
> error: 'v' was not declared in this scope
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h: In
> member function 'void itk::StatisticsLabelObject<TLabel,
> VImageDimension>::PrintSelf(std::ostream&, itk::Indent) const':
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:556:
> error: request for member 'IsNull' in '((const
> itk::StatisticsLabelObject<TLabel,
> VImageDimension>*)this)->itk::StatisticsLabelObject<TLabel,
> VImageDimension>::m_Histogram', which is of non-class type 'const int'
> /usr/include/InsightToolkit/Review/itkStatisticsLabelObject.h:562:
> error: base operand of '->' is not a pointer
> 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/2b636ee0/attachment.pgp>
More information about the Insight-developers
mailing list