【发布时间】:2013-08-27 20:56:16
【问题描述】:
我将使用 gtk+3.0 构建的程序从 linux 迁移到 Mac OS X(10.6.8)。
而且我编译的程序没有错误。
但是,在我启动程序并选择打开文件后,终端显示以下消息。
GLib-GIO-CRITICAL **: Settings schema 'org.gtk.Settings.FileChooser' is not installed
然后,程序以Segmentation fault结束。
如何解决? 感谢您的帮助。
【问题讨论】:
-
你试过在调试器中运行你的程序吗?
-
你是如何在 Mac 上安装 GTK 3 的?
-
@ptomato 通过 mac 端口,
port install gtk3 -
听起来你应该安装
gsettings-desktop-schemas(ftp.gnome.org/pub/GNOME/sources/gsettings-desktop-schemas/3.2),MacPorts 没有。如果这解决了您的问题,请在 MacPorts 上报告错误。 -
@ptomato 谢谢!现在可以正常使用了!