[Insight-developers] ITK wrapping status

Michal Suchanek hramrach at centrum.cz
Sat Oct 16 16:12:37 EDT 2010


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.

Thanks

Michal

libinsighttoolkit4-dev:
/usr/include/InsightToolkit/Review/Statistics/itkHistogram.h

[  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


More information about the Insight-developers mailing list