If you updated rtabmap project, make sure to reinstall it. For rtabmap_ros, it should not build if cmake cannot find rtabmap 0.17.7. rtabmapviz won't be built if rtabmap has not been built with Qt support.
For vtkGUISupportQt, it should normally be installed with libvtk6-qt-dev:
I tried that and it didn't work. I reinstalled the realsense package g20 and gtsam i also did the sudo apt remove ros-kinetic-rtabmap and rtabmap-ros. Then I reinstalled them. Didint work. I tried changing to libvtk5 instead of 6 and that broke something else.
are there other dependencies that i should rebuild? sorry to keep bugging you about this. It just wont build anymore always with the error cannot find -lvtkGUISupportQT.
It is also throwing warnings about pcl::SAC_SAMPLE_SIZE being deprecated. I dont know if that matters.
Another thing I thought of is I also installed cuda a few weeks ago. not sure if that could be causing some of this headache too