ORBSLAM2首次运行出现GTK冲突。
Gtk-ERROR **: GTK+ 3 symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
参考网址https://github.com/yosinski/deep-visualization-toolbox/issues/10
ldd /path/to/your/caffe/python/caffe/ldd _caffe.so | grep -i gtk
ldd /path/to/your/python/site-packages/cv2.so | grep -i gtk
ldd能够显示可执行模块的dependency
一看自己的python里的cv2.so,gtk果然是3,编译opencv时候选择的是gtk3 ,
应该在cmake时候,把with GTK2x打钩,
重新编译opencv,再用上面的命令看下,是2了。