Hello all. I’ve been a RawTherapee user for years on Linux and have recently bought a Mac. I’ve been having some issues building the dependencies for RT on MacOS, in at least getting them correct so I can compile RT from source and run it on my new macbook pro 16 (2019).
I’m using Homebrew and followed the instructions on rawpedia
I am able to run the pre-built 5.7 image from the RT website and do some image manipulation. There are some performance issues though which have been discussed on here already, and I have also been chatting about these these with @blj and some others. I don’t think RT on a Hi DPI Mac screen will be usable until those issues are solved.
Performance issues aside, when running the pre-built RT image the UI looks slightly odd in that the fonts seem slightly blurry and out of alignment (looks like anti-aliasing has gone haywire), so I am thinking there is something missing in my environment. After installing the dependencies using homebrew (making sure that my clang had support for openmp - which it does - I can compile a test program), I compiled RT from source (5.7 release from git) but that build of RT doesn’t run, and crashes with SIGABRT. Looks like this:
(rawtherapee-bin:687): GLib-GObject-WARNING **: 08:18:30.265: invalid cast from ‘GtkMenuBar’ to ‘GtkWindow’
(rawtherapee-bin:687): Gtk-CRITICAL **: 08:18:30.265: gtk_window_add_accel_group: assertion ‘GTK_IS_WINDOW (window)’ failed
(rawtherapee-bin:687): Gtk-WARNING **: 08:18:32.744: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.(rawtherapee-bin:687): Gtk-WARNING **: 08:18:33.747: Could not find the icon ‘list-remove-symbolic-ltr’. The ‘hicolor’ theme
was not found either, perhaps you need to install it.
You can get a copy from:
Index of /releases
**
Gtk:ERROR:…/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:…/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3)
zsh: abort ./RawTherapee.app/Contents/MacOS/rawtherapee
So with the same environment, the pre-built image from RT runs ok (looks bad) but the image that I built does not boot.
@blj suggested that this could be because of missing files in Homebrew installation phase. I would be very interested to know if the instructions on RawPedia for Homebrew have been used by others for a successful build and install of RT, or if MacPorts has had more success.
I believe @blj has had more success with MacPorts. Maybe you could post your configure + build settings and I can see how this goes with Catalina and MacPorts.
Any suggestions are welcome
Cheers