[Insight-users] Errors building ITK with CSWIG
firdaus.janoos
fjanoos at bwh.harvard.edu
Wed Jul 27 15:13:53 EDT 2011
Hello,
I'm trying build ITK version 3.20 on Windows 7 64-bit with CableSwig
wrapping for Python 2.7 (Enthought Python Distribution) with Visual Studio
10, 64-bit.
I've built and installed CableSwig downloaded from the CVS repository given
at http://www.itk.org/ITK/resources/CableSwig.html.
I configured ITK CMake for CableSwig and Python - however, I'm getting the
following errors in the ITK build (this and many more - not listed here).
Any suggestions / recommendations ?
Regards,
-firdaus
PS: The build and environment is fresh - from scratch.
5>------ Build started: Project: _ITKIOPython, Configuration: Release x64
------
4>Build started 27-Jul-11 15:05:06.
5>Build started 27-Jul-11 15:05:06.
4>InitializeBuildStatus:
4> Touching
"_ITKBasicFiltersAPython.dir\Release\_ITKBasicFiltersAPython.unsuccessfulbuild".
5>InitializeBuildStatus:
5> Touching "_ITKIOPython.dir\Release\_ITKIOPython.unsuccessfulbuild".
5>CustomBuild:
5> wrap_IOBase.xml from
4>CustomBuild:
4> wrap_itkAnisotropicDiffusionImageFilter_2D.xml from
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/type_traits:
In instantiation of 'std::tr1::is_scalar<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >':
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/xutility:503:
instantiated from 'std::_Ptr_cat_helper<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/xutility:2535:
instantiated from '_OutIt std::_Move(_InIt, _InIt, _OutIt) [with _InIt =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >*,
_OutIt = std::basic_string<char, std::char_traits<char>,
std::allocator<char> >*]'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:1207:
instantiated from 'std::_Vector_iterator<std::_Vector_val<_Ty, _Ax> >
std::vector<_Ty,
_Ax>::erase(std::_Vector_const_iterator<std::_Vector_val<_Ty, _Ax> >,
std::_Vector_const_iterator<std::_Vector_val<_Ty, _Ax> >) [with _Ty =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Ax
= std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >]'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:1218:
instantiated from 'void std::vector<_Ty, _Ax>::clear() [with _Ty =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Ax
= std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >]'
5>
D:/software/itk/InsightToolkit-3.20.0/Code/IO/itkDICOMSeriesFileNames.h:81:
instantiated from here
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/type_traits:611:
error: 'value' is not a member of 'std::tr1::is_enum<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/xutility:
In instantiation of 'std::_Ptr_cat_helper<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >':
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/xutility:2535:
instantiated from '_OutIt std::_Move(_InIt, _InIt, _OutIt) [with _InIt =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >*,
_OutIt = std::basic_string<char, std::char_traits<char>,
std::allocator<char> >*]'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:1207:
instantiated from 'std::_Vector_iterator<std::_Vector_val<_Ty, _Ax> >
std::vector<_Ty,
_Ax>::erase(std::_Vector_const_iterator<std::_Vector_val<_Ty, _Ax> >,
std::_Vector_const_iterator<std::_Vector_val<_Ty, _Ax> >) [with _Ty =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Ax
= std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >]'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:1218:
instantiated from 'void std::vector<_Ty, _Ax>::clear() [with _Ty =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Ax
= std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >]'
5>
D:/software/itk/InsightToolkit-3.20.0/Code/IO/itkDICOMSeriesFileNames.h:81:
instantiated from here
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/xutility:503:
error: 'value' is not a member of
'std::tr1::is_scalar<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/xutility:
In function '_OutIt std::_Move(_InIt, _InIt, _OutIt) [with _InIt =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >*,
_OutIt = std::basic_string<char, std::char_traits<char>,
std::allocator<char> >*]':
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:1207:
instantiated from 'std::_Vector_iterator<std::_Vector_val<_Ty, _Ax> >
std::vector<_Ty,
_Ax>::erase(std::_Vector_const_iterator<std::_Vector_val<_Ty, _Ax> >,
std::_Vector_const_iterator<std::_Vector_val<_Ty, _Ax> >) [with _Ty =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Ax
= std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >]'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:1218:
instantiated from 'void std::vector<_Ty, _Ax>::clear() [with _Ty =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Ax
= std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >]'
5>
D:/software/itk/InsightToolkit-3.20.0/Code/IO/itkDICOMSeriesFileNames.h:81:
instantiated from here
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/xutility:2535:
error: no matching function for call to '_Move(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*&,
std::_Nonscalar_ptr_iterator_tag)'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:
In member function 'typename _Myvec::const_reference
std::_Vector_const_iterator<_Myvec>::operator*() const [with _Myvec =
std::_Vector_val<double, std::allocator<double> >]':
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/memory:376:
instantiated from '_FwdIt std::_Uninit_copy(_InIt, _InIt, _FwdIt, _Alloc&,
std::_Nonscalar_ptr_iterator_tag) [with _InIt =
std::_Vector_const_iterator<std::_Vector_val<double, std::allocator<double>
> >, _FwdIt = double*, _Alloc = std::allocator<double>]'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/memory:414:
instantiated from '_FwdIt std::_Uninitialized_copy(_InIt, _InIt, _FwdIt,
_Alloc&) [with _InIt = std::_Vector_const_iterator<std::_Vector_val<double,
std::allocator<double> > >, _FwdIt = double*, _Alloc =
std::allocator<double>]'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:1318:
instantiated from 'typename std::_Vector_val<_Ty, _Ax>::_Alty::pointer
std::vector<_Ty, _Ax>::_Ucopy(_Iter, _Iter, typename std::_Vector_val<_Ty,
_Ax>::_Alty::pointer) [with _Iter =
std::_Vector_const_iterator<std::_Vector_val<double, std::allocator<double>
> >, _Ty = double, _Ax = std::allocator<double>]'
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:538:
instantiated from 'std::vector<_Ty, _Ax>::vector(const std::vector<_Ty,
_Ax>&) [with _Ty = double, _Ax = std::allocator<double>]'
5> D:/software/itk/InsightToolkit-3.20.0/Code/IO/itkImageIOBase.h:132:
instantiated from here
5>
D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:82:
error: '__noop' was not declared in this scope
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error
MSB6006: "cmd.exe" exited with code 1.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110727/8121f30d/attachment.htm>
More information about the Insight-users
mailing list