Hello there!<br><br>I am trying to build VTK 5.4 against STLport 5.1.5 under Visual Studio 2005.<br><br>I successfully used CMake-gui (2.6-patch 4) for configuration and solution/projects-generation and VTK just compiles fine (without STLport !).<br>
<br>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 .<br>
Please see the error-log at the end of the post..<br><br>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 ?<br><br>Thanks a lot and best regards,<br>
<br>Michael<br><br><br>Error-log:<br><br><br>Compiling...<br>1>vtkMultiCorrelativeStatistics.cxx<br>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)<br>
1> with<br>1> [<br>1> _Value=vtkStdString,<br>1> _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString><br>1> ]<br>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> &)'<br>
1> with<br>1> [<br>1> _Value=vtkStdString,<br>1> _Traits=stlp_std::priv::_SetTraitsT<vtkStdString><br>1> ]<br>1> while trying to match the argument list '(stlp_std::_Rb_tree_iterator<_Value,_Traits>, stlp_std::_Rb_tree_iterator<_Value,_Traits>)'<br>
1> with<br>1> [<br>1> _Value=vtkStdString,<br>1> _Traits=stlp_std::priv::_SetTraitsT<vtkStdString><br>1> ]<br>1> and<br>1> [<br>1> _Value=vtkStdString,<br>
1> _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString><br>1> ]<br>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)<br>
1> with<br>1> [<br>1> _Value=vtkStdString,<br>1> _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString><br>1> ]<br>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> &)'<br>
1> with<br>1> [<br>1> _Value=vtkStdString,<br>1> _Traits=stlp_std::priv::_SetTraitsT<vtkStdString><br>1> ]<br>1> while trying to match the argument list '(stlp_std::_Rb_tree_iterator<_Value,_Traits>, stlp_std::_Rb_tree_iterator<_Value,_Traits>)'<br>
1> with<br>1> [<br>1> _Value=vtkStdString,<br>1> _Traits=stlp_std::priv::_SetTraitsT<vtkStdString><br>1> ]<br>1> and<br>1> [<br>1> _Value=vtkStdString,<br>
1> _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString><br>1> ]<br>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)<br>
1> with<br>1> [<br>1> _Value=vtkStdString,<br>1> _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString><br>1> ]<br>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> &)'<br>
1> with<br>1> [<br>1> _Value=vtkStdString,<br>1> _Traits=stlp_std::priv::_SetTraitsT<vtkStdString><br>1> ]<br>1> while trying to match the argument list '(stlp_std::_Rb_tree_iterator<_Value,_Traits>, stlp_std::_Rb_tree_iterator<_Value,_Traits>)'<br>
1> with<br>1> [<br>1> _Value=vtkStdString,<br>1> _Traits=stlp_std::priv::_SetTraitsT<vtkStdString><br>1> ]<br>1> and<br>1> [<br>1> _Value=vtkStdString,<br>
1> _Traits=stlp_std::priv::_ConstSetTraitsT<vtkStdString><br>1> ]<br><br><br>