[Insight-developers] ITK wrapping status

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Thu Oct 21 09:06:19 EDT 2010


Le 21 oct. 10 à 15:00, Michal Suchanek a écrit :

> 2010/10/21 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>>
>> Le 21 oct. 10 à 14:46, Michal Suchanek a écrit :
>>
>>>>
>>>> I've just commited a fix in ITK.
>>>> I don't know why I haven't seen that bug yesterday...
>>>>
>>>
>>> This does not seem to help.
>>>
>>> It's not a missing header but a missing method: GetLength
>>>
>>> There are some previous commits explicitly mentioning the method.
>>
>>
>> This method is missing because of the header is not included.
>>
>> Do you have the exact same error message?
>
> Looks the same to me.
>
> I will try one more build run to make sure I did not miss something.
>

That's strange. Can you make sure that /usr/include/InsightToolkit/ 
Numerics/Statistics/itkMembershipFunctionBase.h contains the new  
#include?

http://itk.org/gitweb?p=ITK.git;a=blobdiff;f=Code/Numerics/Statistics/itkMembershipFunctionBase.h;h=710b6ed3f9eecaada95aa1e5db84d3956a3a799c;hp=91becdc29f2ee3790a064a93c5f75915aeadfa2c;hb=d668679aa7f4cdd841df7009618f7971af9af97b;hpb=6f46478eda198f8b97027136983b54ae5050fe3d

Thanks,

Gaëtan


> Thanks
>
> Michal
>
> /usr/include/InsightToolkit/Numerics/Statistics/ 
> itkMembershipFunctionBase.h:
> In member function 'void itk::Statistics::Member
> shipFunctionBase<TVector>::SetMeasurementVectorSize(unsigned int)
> [with TVector = itk::CovariantVector<float, 3u>]':
> /usr/include/InsightToolkit/Common/itkMutexLock.h:59:   instantiated  
> from here
> /usr/include/InsightToolkit/Numerics/Statistics/ 
> itkMembershipFunctionBase.h:87:
> error: 'GetLength' is not a member of 'itk::N
> umericTraits<itk::CovariantVector<float, 3u> >'
> /usr/include/InsightToolkit/Numerics/Statistics/ 
> itkMembershipFunctionBase.h:
> In member function 'void itk::Statistics::Member
> shipFunctionBase<TVector>::SetMeasurementVectorSize(unsigned int)
> [with TVector = itk::CovariantVector<float, 2u>]':
> /usr/include/InsightToolkit/Common/itkMutexLock.h:59:   instantiated  
> from here
> /usr/include/InsightToolkit/Numerics/Statistics/ 
> itkMembershipFunctionBase.h:87:
> error: 'GetLength' is not a member of 'itk::N
> umericTraits<itk::CovariantVector<float, 2u> >'
> /usr/include/InsightToolkit/Numerics/Statistics/ 
> itkMeasurementVectorTraits.h:
> In static member function 'static bool itk::Sta
> tistics::MeasurementVectorTraits::IsResizable(const TVectorType&)
> [with TVectorType = itk::CovariantVector<float, 3u>]':
> /usr/include/InsightToolkit/Numerics/Statistics/ 
> itkMembershipFunctionBase.h:67:
>  instantiated from 'void itk::Statistics::Me
> mbershipFunctionBase<TVector>::SetMeasurementVectorSize(unsigned int)
> [with TVector = itk::CovariantVector<float, 3u>]'
> /usr/include/InsightToolkit/Common/itkMutexLock.h:59:   instantiated  
> from here
> /usr/include/InsightToolkit/Numerics/Statistics/ 
> itkMeasurementVectorTraits.h:68:
> error: 'GetLength' is not a member of 'itk::
> NumericTraits<itk::CovariantVector<float, 3u> >'
> /usr/include/InsightToolkit/Numerics/Statistics/ 
> itkMeasurementVectorTraits.h:
> In static member function 'static bool itk::Sta
> tistics::MeasurementVectorTraits::IsResizable(const TVectorType&)
> [with TVectorType = itk::CovariantVector<float, 2u>]':
> /usr/include/InsightToolkit/Numerics/Statistics/ 
> itkMembershipFunctionBase.h:67:
>  instantiated from 'void itk::Statistics::Me
> mbershipFunctionBase<TVector>::SetMeasurementVectorSize(unsigned int)
> [with TVector = itk::CovariantVector<float, 2u>]'
> /usr/include/InsightToolkit/Common/itkMutexLock.h:59:   instantiated  
> from here
> /usr/include/InsightToolkit/Numerics/Statistics/ 
> itkMeasurementVectorTraits.h:68:
> error: 'GetLength' is not a member of 'itk::
> NumericTraits<itk::CovariantVector<float, 2u> >'

-- 
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/20101021/7ead593f/attachment.pgp>


More information about the Insight-developers mailing list