I modified the main.cpp in RGBDMapping example by adding cv::imshow(data.imageRaw()). I compiled rtabmap with opencv3.4.2 and it can pass the compilation. However, during run-time there is error:
Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
So I am wondering that is rtabmap built on gtk+2 (as my opencv3 is compiled with gtk+ 3)? When compiling with opencv 2.4.8 the run-time error doesn't appear, but I want to use some other modules featured in opencv3 only.