[Insight-users] Compilation error ITK 4.2rc1 Win32 VStudio2k10

Félix C. Morency felix.morency at gmail.com
Mon Jun 4 17:23:22 EDT 2012


Hi,

We are trying to build ITK 4.2rc1 on Windows using VStudio2k10
Ultimate enabling Python wrappers and Module_ItkVtkGlue, but get the
following error:

87>------ Build started: Project: ITKIOIPLIdx, Configuration: Release
Win32 ------
87>Build started 2012-06-04 15:39:06.
87>InitializeBuildStatus:
87>  Touching "Win32\Release\ITKIOIPLIdx\ITKIOIPLIdx.unsuccessfulbuild".
87>CustomBuild:
87>  Generating itkIPLCommonImageIO.xml
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/type_traits:
In instantiation of 'std::tr1::is_scalar<itk::IPLFileSortInfo*>':
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/xutility:515:
  instantiated from 'std::_Ptr_cat_helper<itk::IPLFileSortInfo*,
itk::IPLFileSortInfo*>'
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/xutility:2547:
  instantiated from '_OutIt std::_Move(_InIt, _InIt, _OutIt) [with
_InIt = itk::IPLFileSortInfo**, _OutIt = itk::IPLFileSortInfo**]'
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/vector:1180:
  instantiated from 'std::_Vector_iterator<std::_Vector_val<_Ty, _Ax>
> std::vector<_Ty,
_Ax>::erase(std::_Vector_const_iterator<std::_Vector_val<_Ty, _Ax> >)
[with _Ty = itk::IPLFileSortInfo*, _Ax =
std::allocator<itk::IPLFileSortInfo*>]'
87>  D:/Downloads/Kitware/itk.4.2/ITK/Modules/IO/IPL/include/itkIPLFileNameList.h:246:
  instantiated from here
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/type_traits:611:
error: 'value' is not a member of
'std::tr1::is_enum<itk::IPLFileSortInfo*>'
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/xutility:
In instantiation of 'std::_Ptr_cat_helper<itk::IPLFileSortInfo*,
itk::IPLFileSortInfo*>':
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/xutility:2547:
  instantiated from '_OutIt std::_Move(_InIt, _InIt, _OutIt) [with
_InIt = itk::IPLFileSortInfo**, _OutIt = itk::IPLFileSortInfo**]'
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/vector:1180:
  instantiated from 'std::_Vector_iterator<std::_Vector_val<_Ty, _Ax>
> std::vector<_Ty,
_Ax>::erase(std::_Vector_const_iterator<std::_Vector_val<_Ty, _Ax> >)
[with _Ty = itk::IPLFileSortInfo*, _Ax =
std::allocator<itk::IPLFileSortInfo*>]'
87>  D:/Downloads/Kitware/itk.4.2/ITK/Modules/IO/IPL/include/itkIPLFileNameList.h:246:
  instantiated from here
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/xutility:515:
error: 'value' is not a member of
'std::tr1::is_scalar<itk::IPLFileSortInfo*>'
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/xutility:
In function '_OutIt std::_Move(_InIt, _InIt, _OutIt) [with _InIt =
itk::IPLFileSortInfo**, _OutIt = itk::IPLFileSortInfo**]':
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/vector:1180:
  instantiated from 'std::_Vector_iterator<std::_Vector_val<_Ty, _Ax>
> std::vector<_Ty,
_Ax>::erase(std::_Vector_const_iterator<std::_Vector_val<_Ty, _Ax> >)
[with _Ty = itk::IPLFileSortInfo*, _Ax =
std::allocator<itk::IPLFileSortInfo*>]'
87>  D:/Downloads/Kitware/itk.4.2/ITK/Modules/IO/IPL/include/itkIPLFileNameList.h:246:
  instantiated from here
87>  D:/Downloads/Kitware/itk.4.2/ITK/build/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/xutility:2547:
error: no matching function for call to
'_Move(itk::IPLFileSortInfo**&, itk::IPLFileSortInfo**&,
itk::IPLFileSortInfo**&, std::_Nonscalar_ptr_iterator_tag)'
87>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5):
error MSB6006: "cmd.exe" exited with code 1.
87>
87>Build FAILED.
87>
87>Time Elapsed 00:00:04.48


We had the same error with ITK 4.1. Any hints?

Regards,
--
Félix C. Morency, M.Sc.
Plateforme d’analyse et de visualisation d’images
Centre Hospitalier Universitaire de Sherbrooke
Centre de recherche clinique Étienne-Le Bel
Local Z5-3031 | 819.346.1110 ext 16634


More information about the Insight-users mailing list