我尝试使用Visual Studio 2008在Windows 8.1上使用VTK 7编译ActiViz,并且我仍然在ActiViz使用的GCC XML源代码中收到编译错误'value' is not a member of std::tr1::is_enum<vtkContourRepresentationPoint*>'
。但是,当我单独编译GCC XML时,没有错误。
有人可以帮我解决这个问题吗?我试图整天解决这个错误,但我找不到任何解决方案。
感谢。
以下是编译器的完整输出:
VTK7/VTK-7.0.0/Interaction/Widgets/vtkContourRepresentation.h:104: instantiated from here
16> gccxml/share/gccxml-0.9/Vc10/Include/type_traits:611: error: 'value' is not a member of 'std::tr1::is_enum<vtkContourRepresentationPoint*>'
16> gccxml/share/gccxml-0.9/Vc10/Include/xutility: In instantiation of 'std::_Ptr_cat_helper<vtkContourRepresentationPoint*, vtkContourRepresentationPoint*>':
16> gccxml/share/gccxml-0.9/Vc10/Include/xutility:2535: instantiated from '_OutIt std::_Move(_InIt, _InIt, _OutIt) [with _InIt = vtkContourRepresentationPoint**, _OutIt = vtkContourRepresentationPoint**]'
16> gccxml/share/gccxml-0.9/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 = vtkContourRepresentationPoint*, _Ax = std::allocator<vtkContourRepresentationPoint*>]'
16> gccxml/share/gccxml-0.9/Vc10/Include/vector:1218: instantiated from 'void std::vector<_Ty, _Ax>::clear() [with _Ty = vtkContourRepresentationPoint*, _Ax = std::allocator<vtkContourRepresentationPoint*>]'