[Insight-users] error building wrap_itkVoronoiSegmentationImageFilterPython (ITK 3.14, WrapITK 0.3.0, VS 2008 SP1, Win64)
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Mon Aug 3 12:16:20 EDT 2009
Charl,
I would be great if you can provide a patch for the /bigobj option!
Have you applied the patch referenced at http://code.google.com/p/wrapitk/wiki/Release030#Known_issues
:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/Algorithms/itkVoronoiSegmentationImageFilterBase.h?root=Insight&r1=1.30&r2=1.31&sortby=date
It is required if you use ITK 3.14.
Thanks,
Gaëtan
Le 3 août 09 à 17:38, Charl Botha a écrit :
> 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
--
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/pipermail/insight-users/attachments/20090803/ca3ad0da/attachment.pgp>
More information about the Insight-users
mailing list