Hello,<br><br>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.<br><br>I've built and installed CableSwig downloaded from the CVS repository given at <a href="http://www.itk.org/ITK/resources/CableSwig.html">http://www.itk.org/ITK/resources/CableSwig.html</a>.<br>
<br>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).<br><br>Any suggestions / recommendations ?<br><br>Regards,<br>-firdaus<br>
<br>PS: The build and environment is fresh - from scratch. <br><br><br>5>------ Build started: Project: _ITKIOPython, Configuration: Release x64 ------<br>4>Build started 27-Jul-11 15:05:06.<br>5>Build started 27-Jul-11 15:05:06.<br>
4>InitializeBuildStatus:<br>4> Touching "_ITKBasicFiltersAPython.dir\Release\_ITKBasicFiltersAPython.unsuccessfulbuild".<br>5>InitializeBuildStatus:<br>5> Touching "_ITKIOPython.dir\Release\_ITKIOPython.unsuccessfulbuild".<br>
5>CustomBuild:<br>5> wrap_IOBase.xml from <br>4>CustomBuild:<br>4> wrap_itkAnisotropicDiffusionImageFilter_2D.xml from <br>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> > >':<br>
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> > >'<br>
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> >*]'<br>
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> > >]'<br>
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> > >]'<br>
5> D:/software/itk/InsightToolkit-3.20.0/Code/IO/itkDICOMSeriesFileNames.h:81: instantiated from here<br><span style="color: rgb(255, 0, 0);">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> > >'</span><br>
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> > >':<br>
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> >*]'<br>
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> > >]'<br>
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> > >]'<br>
5> D:/software/itk/InsightToolkit-3.20.0/Code/IO/itkDICOMSeriesFileNames.h:81: instantiated from here<br><span style="color: rgb(255, 0, 0);">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> > >'</span><br>
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> >*]':<br>
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> > >]'<br>
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> > >]'<br>
5> D:/software/itk/InsightToolkit-3.20.0/Code/IO/itkDICOMSeriesFileNames.h:81: instantiated from here<br><span style="color: rgb(255, 0, 0);">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)'</span><br>
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> >]':<br>
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>]'<br>
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>]'<br>
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>]'<br>
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>]'<br>
5> D:/software/itk/InsightToolkit-3.20.0/Code/IO/itkImageIOBase.h:132: instantiated from here<br><span style="color: rgb(255, 0, 0);">5> D:/software/CableSwig/CableSwig-build/GCC_XML/Support/Vc10/Include/vector:82: error: '__noop' was not declared in this scope</span><br>
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1.<br><br>