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

【ros】【bug】gtk2\3 冲突

 

 

 



相关文章:

  • 2022-12-23
  • 2021-09-21
  • 2022-01-09
  • 2022-03-12
  • 2022-01-16
  • 2021-06-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2021-12-22
  • 2021-05-08
  • 2022-12-23
相关资源
相似解决方案