Cemu icon indicating copy to clipboard operation
Cemu copied to clipboard

Cemu crashes on Xubuntu 22.04 build

Open NebulaOnion opened this issue 3 years ago • 3 comments

After building Cemu on Xubuntu 22.04 and executing it on said OS, Cemu crashes with the following error:

(Cemu:55052): Gtk-WARNING **: : Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/elementary-xfce/status/16/image-missing.png: Fatal error reading PNG image file: Invalid IHDR data (gdk-pixbuf-error-quark, 0)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/elementary-xfce/status/16/image-missing.png: Fatal error reading PNG image file: Invalid IHDR data (gdk-pixbuf-error-quark, 0)
Aborted (core dumped)

NebulaOnion avatar Sep 03 '22 21:09 NebulaOnion

This is due to static libpng mismatch of vcpkg with the host systems dynamic libpng.

qurious-pixel avatar Sep 04 '22 17:09 qurious-pixel

This is due to static libpng mismatch of vcpkg with the host systems dynamic libpng.

@qurious-pixel Thanks, but I don't understand that. Could you explain please, if you don't mind?

ghost avatar Sep 04 '22 17:09 ghost

wxWidgets is using libpng as a dependency during build. When you run it on your system, the libpng doesn't match and you get this error.

I fixed this in my AppImage build, but the goal is to get wxWidgets to use the same libpng from build, when its running by statically linking the library.

qurious-pixel avatar Sep 04 '22 23:09 qurious-pixel