Using libraw on Mac with c#


my name is Tom and I'm new with LibRaw and in this forum.
We are doing a c#-app targeting Windows and Mac with Visual Studio for Windows and Mac.

We need to implement LibRaw for a new photo-app, so we are using this libraw-wrapper:

In Windows all works well with the libraw.dll from the current package

But my problem is the Xamarin-Mac side of the project.
There is no libraw.dylib included in, only a libraw.a and I don't know, how to reference this on the mac-side with c#

Any help is appreciated.
Thank you


The easiest way to create

The easiest way to create libraw.dylib is to run


Note: on fresh enough macOS this command sequence may end with ...blabla...aclocal-1.15 missing
In that case you need to recreate ./configure script by using

autoreconf --install

To run that you'll need these software packages: autoconf, automake, libtool, pkg-config. You may install it using macports or homebrew, or just download source code and install (please note: autoconf 2.70 is not working for unknown reason, use version 2.69)

-- Alex Tutubalin @LibRaw LLC

Thanks Alex, with your

Thanks Alex, with your detailed description I was able to compile the libraw.dylib and its working now with Xamarin.Mac,

glad to hear that my

glad to hear that my assistance helped.

-- Alex Tutubalin @LibRaw LLC