C# 使用VTK 7、GCC XML、C++;在窗户上

C# 使用VTK 7、GCC XML、C++;在窗户上,c#,c++,compilation,vtk,C#,C++,Compilation,Vtk,我正在尝试使用Visual studio 2008在Windows 8.1上使用VTK 7编译ActiViz,但仍然得到编译错误“value”不是ActiViz使用的GCC XML源代码中std::tr1::is_enum'的成员。但是,当我单独编译GCC XML时,没有错误。 有谁能帮我解决这个问题吗?我一整天都在试图解决这个错误,但我找不到任何解决办法。 谢谢 以下是编译器的完整输出: VTK7/VTK-7.0.0/Interaction/Widgets/vtkContourRepresen

我正在尝试使用Visual studio 2008在Windows 8.1上使用VTK 7编译ActiViz,但仍然得到编译错误
“value”不是ActiViz使用的GCC XML源代码中std::tr1::is_enum'
的成员。但是,当我单独编译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*>]'
VTK7/VTK-7.0.0/Interaction/Widgets/vtkcontourrenpresentation.h:104:从此处实例化
16> gccxml/share/gccxml-0.9/Vc10/Include/type_traits:611:错误:“value”不是“std::tr1::is_enum”的成员
16> gccxml/share/gccxml-0.9/Vc10/Include/xutility:在“std::\u Ptr\u cat\u helper”的实例化中:
16> gccxml/share/gccxml-0.9/Vc10/Include/xutility:2535:从“_-OutIt std::_-Move(_-InIt,_-InIt,_-OutIt,_-OutIt)[带_-InIt=vtkcontourresentationpoint**,_-OutIt=vtkcontourresentationpoint**]实例化”
16> gccxml/share/gccxml-0.9/Vc10/Include/vector:1207:从“std::_vector_iterator std::vector::erase(std:_vector_const_iterator,std:_vector_const_iterator)[with _Ty=vtkcontourrenpresentationpoint*,_axstd::分配器]实例化
16> gccxml/share/gccxml-0.9/Vc10/Include/vector:1218:从“void std::vector::clear()[with _Ty=vtkContourRepresentationPoint*,_Ax=std::allocator]实例化”

ActiViz不支持VTK 7.0,可能永远也不会支持。我相信VTK6.2是受支持的最新版本。