[Insight-developers] Compile failure with ITK & WrapITK

kent williams norman-k-williams at uiowa.edu
Mon Mar 16 11:56:48 EDT 2009


Clean checkout today of Insight + Cableswig. Mac OS X 10.5.6, system GCC
4.0.1, CMakeCache.txt below, but basically all i did beyond the baseline
default configuration is this:

1. Add flags for STL debugging to CXXFLAGS
2. Turn on WrapITK
3. Turn on shared libraries
4. turn on TCL wrapping.

There are dozens of errors of this sort:

.../Insight-build/Wrapping/WrapITK/Modules/Base/wrap_itkNarrowBandTcl.cxx:
In function 'int _wrap_itkNarrowBandBNI2US_Begin__SWIG_0(void*, Tcl_Interp*,
int, Tcl_Obj* const*)':
.../Insight-build/Wrapping/WrapITK/Modules/Base/wrap_itkNarrowBandTcl.cxx:12
20: error: no match for 'operator=' in 'result =
itk::NarrowBand<NodeType>::Begin() [with NodeType =
itk::BandNode<itk::Index<2u>, short unsigned int>]()'
.../Insight-build/Wrapping/WrapITK/Modules/Base/wrap_itkNarrowBandTcl.cxx:21
: note: candidates are: SwigValueWrapper<T>&
SwigValueWrapper<T>::operator=(const T&) [with T =
__gnu_cxx::__normal_iterator<itk::BandNode<itk::Index<2u>, short unsigned
int>*, __gnu_debug_def::vector<itk::BandNode<itk::Index<2u>, short unsigned
int>, std::allocator<itk::BandNode<itk::Index<2u>, short unsigned int> > >
>]
.../Insight-build/Wrapping/WrapITK/Modules/Base/wrap_itkNarrowBandTcl.cxx:25
: note:                 SwigValueWrapper<T>&
SwigValueWrapper<T>::operator=(const SwigValueWrapper<T>&) [with T =
__gnu_cxx::__normal_iterator<itk::BandNode<itk::Index<2u>, short unsigned
int>*, __gnu_debug_def::vector<itk::BandNode<itk::Index<2u>, short unsigned
int>, std::allocator<itk::BandNode<itk::Index<2u>, short unsigned int> > >
>]
.../Insight-build/Wrapping/WrapITK/Modules/Base/wrap_itkNarrowBandTcl.cxx:
In function 'int _wrap_itkNarrowBandBNI2US_Begin__SWIG_1(void*, Tcl_Interp*,
int, Tcl_Obj* const*)':






Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.




More information about the Insight-developers mailing list