preliminary libraw support -- call for testing

Hi @guzzisti , thanks for the feedback! Indeed, I used the latest libraw snapshot from github, and I relized just now that they added a backwards-incompatible change… Can you try this patch (against the current head of the libraw branch) and see if it fixes it?

diff --git a/rtengine/rawimage.cc b/rtengine/rawimage.cc
--- a/rtengine/rawimage.cc
+++ b/rtengine/rawimage.cc
@@ -690,7 +690,11 @@
 #else // ART_USE_LIBRAW
         {
             //libraw.recycle();
+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
             libraw.imgdata.rawparams.shot_select = shot_select;
+#else
+            libraw.imgdata.params.shot_select = shot_select;
+#endif
             
             int err = libraw.open_buffer(ifp->data, ifp->size);
             if (err) {
1 Like