Cemu
Cemu copied to clipboard
Cemu crashes on Xubuntu 22.04 build
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)
This is due to static libpng mismatch of vcpkg with the host systems dynamic libpng.
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?
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.