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了。

