Gtk-Message: Failed to load module "canberra-gtk-module"
运行opencv cpp程序是出现上述错误
采用的debain 8系统,在网上搜索一下,提供的解决方案是:sudo apt-get install libcanberra-gtk3-module,系统已经安装这个模块。
受上述方案的启发运行命令,包含缺少模块的包:
yuanzhen@bogon:~/C_script$ apt-cache search canberra-gtk-module
libcanberra-gtk-module - translates GTK+ widgets signals to event sounds libcanberra-gtk-module-dbg - libcanberra GtkModule detached debugging symbols然后安装包:
sudo apt-get install libcanberra-gtk-module
问题解决!