[vtkusers] Activiz 7.1 - Redefinition errors while compiling
jrtn
john.j.russell95 at gmail.com
Fri Jun 16 16:01:12 EDT 2017
Windows 7
Visual Studio 2008 Express w/ SP1
I'm trying to compile Activiz 7.1 with VTK 7.0. I have mummy and gccxml both
compiled and installed. I also have VTK compiling.
When I build the ALL_BUILD rule for Activiz, I get the following error:
/c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/include/xxresult:102:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1,
_Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/include/xxresult:94:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:111: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&,
_Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/include/xxresult:94:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:121: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&,
_Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/include/xxresult:94:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:154: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:146: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:163: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:146: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:173: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:146: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:206: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)volatile,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:198: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)volatile,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:215: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)volatile,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:198: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)volatile,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:225: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)volatile,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:198: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)volatile,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:258: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:250: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:267: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:250: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:277: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:250: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:310: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4),
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:302: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4),
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:319: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4),
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:302: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4),
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:329: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4),
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:302: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4),
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:362: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:354: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:371: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:354: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:381: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
6>C:/Users/RUSSELLJJ/Documents/VTK/Activiz/vtk-7.0/Wrapping/Tools/hints(251):
warning: m6021: More than one line in the hints file for
vtkTypeInt64Array::GetValueRange
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:354: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const,
_Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
6>C:/Users/RUSSELLJJ/Documents/VTK/Activiz/vtk-7.0/Wrapping/Tools/hints(253):
warning: m6021: More than one line in the hints file for
vtkTypeUInt64Array::GetValueRange
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:414: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3,
_Arg4)volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:406: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3,
_Arg4)volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:423: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3,
_Arg4)volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:406: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3,
_Arg4)volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:433: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3,
_Arg4)volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:406: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3,
_Arg4)volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:466: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:458: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:475: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:458: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:485: error: redefinition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xxresult:458: error: previous definition of 'struct
std::tr1::_Result_of5<_Rx (_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const
volatile, _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
5>In file included from c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xfwrap1:222,
5> from c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xfwrap:40,
5> from c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xrefwrap:44,
5> from c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/functional:874,
5> from c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/xtree:6,
5> from c:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/include/map:6,
5> from
C:/Users/RUSSELLJJ/Documents/VTK/Activiz/vtk-7.0/Rendering/OpenGL2/vtkOpenGLRenderWindow.h:27,
5> from
C:/Users/RUSSELLJJ/Documents/VTK/Activiz/vtk-7.0/Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.h:25,
5> from
C:/Users/RUSSELLJJ/Documents/VTK/Activiz/activiz-build/xml/vtkWin32OpenGLRenderWindow_gccxml.cxx:1:/
This same error happens multiple times for different files, and each time
the error messages range from structs _Result_of1 through _Result_of10. I
see in the Activiz build
article(http://www.vtk.org/Wiki/VTK/CSharp/ActiViz/Build) that adding /SET
(GCCXML_EXTRA_D_ARGS "_HAS_TR1=0")/ to the CMakeLists file should fix this,
but I've tried compiling both with and without that line (and the line
adding it to the command) yet the error persists.
Has anyone encountered this and found a solution?
Thanks
--
View this message in context: http://vtk.1045678.n5.nabble.com/Activiz-7-1-Redefinition-errors-while-compiling-tp5743675.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list