[Insight-users] error building wrap_itkVoronoiSegmentationImageFilterPython (ITK 3.14, WrapITK 0.3.0, VS 2008 SP1, Win64)
Charl Botha
c.p.botha at tudelft.nl
Mon Aug 3 11:38:35 EDT 2009
Dear Gaetan and other WrapITK users,
Building WrapITK 0.3.0 on Win64 with VS 2008 SP1 and swig 1.3.39 I get
the following error:
wrap_itkVoronoiSegmentationImageFilterPython.cpp
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(5505) : error
C2976: 'std::_Vector_iterator' : too few template arguments
C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\include\vector(288) : see declaration of
'std::_Vector_iterator'
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(5505) : error
C3203: '_Vector_iterator' : unspecialized class template can't be used
as a template argument for template parameter 'T', expected a real
type
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(5505) : error
C2955: 'std::_Vector_iterator' : use of class template requires
template argument list
C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\include\vector(288) : see declaration of
'std::_Vector_iterator'
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(5505) : error
C2133: 'arg3' : unknown size
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(5505) : error
C2512: 'SwigValueWrapper' : no appropriate default constructor
available
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(5533) : error
C2976: 'std::_Vector_iterator' : too few template arguments
C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\include\vector(288) : see declaration of
'std::_Vector_iterator'
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(5533) : error
C2976: 'std::_Vector_iterator' : too few template arguments
C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\include\vector(288) : see declaration of
'std::_Vector_iterator'
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(5534) : error
C2678: binary '=' : no operator found which takes a left-hand operand
of type 'SwigValueWrapper' (or there is no acceptable conversion)
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(24): could
be 'SwigValueWrapper<T> &SwigValueWrapper<T>::operator =(const
SwigValueWrapper<T> &)'
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(28): or
'SwigValueWrapper<T> &SwigValueWrapper<T>::operator =(const T &)'
while trying to match the argument list '(SwigValueWrapper,
std::_Vector_iterator)'
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(5534) : error
C2582: 'operator =' function is unavailable in 'SwigValueWrapper'
.\wrap_itkVoronoiSegmentationImageFilterPython.cpp(5540) : error
C2664: 'itk::VoronoiSegmentationImageFilterBase<TInputImage,TOutputImage,TBinaryPriorImage>::SetSeeds'
: cannot convert parameter 2 from 'SwigValueWrapper' to
'itk::VoronoiSegmentationImageFilterBase<TInputImage,TOutputImage,TBinaryPriorImage>::SeedsIterator'
with
[
TInputImage=itk::Image<unsigned short,2>,
TOutputImage=itk::Image<unsigned short,2>,
TBinaryPriorImage=itk::Image<unsigned short,2>
]
No user-defined-conversion operator available that can perform
this conversion, or the operator cannot be called
Any clues as to where begin looking would be highly appreciated!!
I did have to add /bigobj to the ITKPyBasePython project to get this
far. I'm probably going to modify the cmake configuration to do that
for ALL projects in WrapITK.
Thanks again,
Charl
More information about the Insight-users
mailing list