[vtkusers] Building VTK 5.4 against STLport 5.1.5 with VS2005

Michael Mzik michael.mzik.vtkusers at googlemail.com
Thu May 7 04:33:50 EDT 2009


Hello there!

I am trying to build VTK 5.4 against STLport 5.1.5 under Visual Studio 2005.

I successfully used CMake-gui (2.6-patch 4) for configuration and
solution/projects-generation and VTK just compiles fine (without STLport !).

However, if I add STLport to the compilers Include- and Lib-Path settings,
and configure the appropriate CMAKE_CXX_FLAGS_DEBUG (added /D_STL_DEBUG
flag) and CMAKE_..._LINKER_FLAGS to link against STLport, I am facing
problems compiling (under release/debug) the file:
vtkMultiCorrelativeStatistics.cxx .
Please see the error-log at the end of the post..

Now I just wanted to ask if those "problems" are already known before I
start trying to do a patch, or if STLport isn't supported at all ?

Thanks a lot and best regards,

Michael


Error-log:


Compiling...
1>vtkMultiCorrelativeStatistics.cxx
1>..\..\vtk-5.4.0\Infovis\vtkMultiCorrelativeStatistics.cxx(270) : error
C2679: binary '=' : no operator found which takes a right-hand operand of
type 'stlp_std::_Rb_tree_iterator<_Value,_Traits>' (or there is no
acceptable conversion)
1>        with
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString>
1>        ]
1>
D:\PERFORCE\SOFTWARE_DEVELOPMENT\GENERIC\LIBS\StlPort\stlport\stl/_tree.h(199):
could be 'stlp_std::_Rb_tree_iterator<_Value,_Traits>
&stlp_std::_Rb_tree_iterator<_Value,_Traits>::operator =(const
stlp_std::_Rb_tree_iterator<_Value,_Traits> &)'
1>        with
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_SetTraitsT<vtkStdString>
1>        ]
1>        while trying to match the argument list
'(stlp_std::_Rb_tree_iterator<_Value,_Traits>,
stlp_std::_Rb_tree_iterator<_Value,_Traits>)'
1>        with
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_SetTraitsT<vtkStdString>
1>        ]
1>        and
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString>
1>        ]
1>..\..\vtk-5.4.0\Infovis\vtkMultiCorrelativeStatistics.cxx(303) : error
C2679: binary '=' : no operator found which takes a right-hand operand of
type 'stlp_std::_Rb_tree_iterator<_Value,_Traits>' (or there is no
acceptable conversion)
1>        with
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString>
1>        ]
1>
D:\PERFORCE\SOFTWARE_DEVELOPMENT\GENERIC\LIBS\StlPort\stlport\stl/_tree.h(199):
could be 'stlp_std::_Rb_tree_iterator<_Value,_Traits>
&stlp_std::_Rb_tree_iterator<_Value,_Traits>::operator =(const
stlp_std::_Rb_tree_iterator<_Value,_Traits> &)'
1>        with
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_SetTraitsT<vtkStdString>
1>        ]
1>        while trying to match the argument list
'(stlp_std::_Rb_tree_iterator<_Value,_Traits>,
stlp_std::_Rb_tree_iterator<_Value,_Traits>)'
1>        with
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_SetTraitsT<vtkStdString>
1>        ]
1>        and
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString>
1>        ]
1>..\..\vtk-5.4.0\Infovis\vtkMultiCorrelativeStatistics.cxx(491) : error
C2679: binary '=' : no operator found which takes a right-hand operand of
type 'stlp_std::_Rb_tree_iterator<_Value,_Traits>' (or there is no
acceptable conversion)
1>        with
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString>
1>        ]
1>
D:\PERFORCE\SOFTWARE_DEVELOPMENT\GENERIC\LIBS\StlPort\stlport\stl/_tree.h(199):
could be 'stlp_std::_Rb_tree_iterator<_Value,_Traits>
&stlp_std::_Rb_tree_iterator<_Value,_Traits>::operator =(const
stlp_std::_Rb_tree_iterator<_Value,_Traits> &)'
1>        with
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_SetTraitsT<vtkStdString>
1>        ]
1>        while trying to match the argument list
'(stlp_std::_Rb_tree_iterator<_Value,_Traits>,
stlp_std::_Rb_tree_iterator<_Value,_Traits>)'
1>        with
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_SetTraitsT<vtkStdString>
1>        ]
1>        and
1>        [
1>            _Value=vtkStdString,
1>            _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString>
1>        ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090507/62f15d11/attachment.htm>


More information about the vtkusers mailing list