小编Mas*_*oud的帖子

GTK:如何解决此问题:无法从 /org/gtk/libgtk/icons/16x16/status/image-missing.png 加载 pixbuf

我想从我的 GTK 程序中获取 Windows 上的可执行文件,即使您的计算机上没有安装 GTK,该程序也可以运行。我尝试使用 inno setup 获取安装程序,并复制了我需要的所有 dll,但我在终端上收到此消息错误:

(TPGTK+.exe:13972): Gtk-WARNING **: 19:22:02.461: Could not load a pixbuf from /org/gtk/libgtk/icons/16x16/status/image-missing.png.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../gtk+-3.24.29/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../gtk+-3.24.29/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Run Code Online (Sandbox Code Playgroud)

gtk executable pixbuf

5
推荐指数
1
解决办法
4243
查看次数

标签 统计

executable ×1

gtk ×1

pixbuf ×1