[Insight-developers] last changes in NormalVectorDiffusionFunction break builds

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Aug 12 11:05:46 EDT 2005


Hi Karthik,

This patch :

Thu Aug 11 17:57:18 CEST 2005  karthik
   * Insight: changeset 2005-08-11 15:57:18 by karthik
   BUG: Traits picked from the wrong data type !

     M ./Insight/Code/BasicFilters/itkNormalVectorDiffusionFunction.txx -3  
+3

Breaks building of SparseFieldFourthOrderLevelSetImageFilter wrapper with  
the following error message:

Building CXX object  
Wrapping/CSwig/BasicFiltersB/_ITKBasicFiltersBPython.dir/wrap_itkSparseFieldFourthOrderLevelSetImageFilterPython.o
/home/adenot/itk-mima2/Insight/Code/BasicFilters/itkNormalVectorDiffusionFunction.txx:  
In member function 'typename  
itk::NormalVectorDiffusionFunction<TSparseImageType>::NormalVectorType  
itk::NormalVectorDiffusionFunction<TSparseImageType>::ComputeSparseUpdate(typename  
itk::NormalVectorFunctionBase<TSparseImageType>::NeighborhoodType&, void*,  
const typename  
itk::NormalVectorFunctionBase<TSparseImageType>::FloatOffsetType&) const  
[with TSparseImageType =  
itk::SparseImage<itk::NormalBandNode<itk::Image<float, 3u> >, 3u>]':
/home/adenot/itk-mima2/build/Wrapping/CSwig/BasicFiltersB/wrap_itkSparseFieldFourthOrderLevelSetImageFilterPython.cxx:10700:    
instantiated from here
/home/adenot/itk-mima2/Insight/Code/BasicFilters/itkNormalVectorDiffusionFunction.txx:186:  
error: 'Zero' is not a member of 'itk::NumericTraits<itk::Vector<float,  
3u> >'
make[2]: ***  
[Wrapping/CSwig/BasicFiltersB/_ITKBasicFiltersBPython.dir/wrap_itkSparseFieldFourthOrderLevelSetImageFilterPython.o]  
Erreur 1
make[1]: ***  
[Wrapping/CSwig/BasicFiltersB/_ITKBasicFiltersBPython.dir/all] Erreur 2
make: *** [all] Erreur 2

I'm not sure if the problem is in your patch or elsewhere, but for sure  
there is a problem :-)

Regards,

Gaetan


-- 
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 29 66
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
Web: http://voxel.jouy.inra.fr


More information about the Insight-developers mailing list