consistently receiving the warning message about vtkOpenGLPolyDataMapper::GetGeometryShaderCode

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

consistently receiving the warning message about vtkOpenGLPolyDataMapper::GetGeometryShaderCode

Hamdi Sharaf


[rtabmap_viz-2] 2023-09-04 11:34:00.172 ( 164.513s) [        DFDA42C0]vtkOpenGLPolyDataMapper:336   WARN| vtkOpenGLPolyDataMapper::GetGeometryShaderCode was deprecated for VTK 9.0 and will be removed in a future version.  Use vtkOpenGLShaderProperty::GetGeometryShaderCode instead.

I got the above warring contunuesly when i launch this launch "ros2 launch rtabmap_demos turtlebot3_rgbd.launch.py"

Im using ros2 humble.
How can I liquidate this warning?
Reply | Threaded
Open this post in threaded view
|

Re: consistently receiving the warning message about vtkOpenGLPolyDataMapper::GetGeometryShaderCode

matlabbe
Administrator
This is maybe related to combination of PCL version installed with this version of VTK. Searching similar warnings for PCL, I saw this post: https://github.com/PointCloudLibrary/pcl/issues/4830, it looks like even PCL is not explicitly using those functions. Are you building rtabmap from source? You may add explicitly "vtkObject::GlobalWarningDisplayOff();" in https://github.com/introlab/rtabmap_ros/blob/master/rtabmap_viz/src/GuiNode.cpp
Reply | Threaded
Open this post in threaded view
|

Re: consistently receiving the warning message about vtkOpenGLPolyDataMapper::GetGeometryShaderCode

Hamdi Sharaf
No, I installed it as binary.
Reply | Threaded
Open this post in threaded view
|

Re: consistently receiving the warning message about vtkOpenGLPolyDataMapper::GetGeometryShaderCode

matlabbe
Administrator
With the binaries, we cannot do much about it as the issue is in upstream libraries.