Using libraw on Mac with c#

Hi,

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:
https://github.com/laheller/SharpLibraw

In Windows all works well with the libraw.dll from the current package LibRaw-0.20.2-Win64.zip.

But my problem is the Xamarin-Mac side of the project.
There is no libraw.dylib included in LibRaw-0.20.2-macOS.zip, 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
Tom

Forums: 

The easiest way to create

The easiest way to create libraw.dylib is to run

./configure
make

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

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,
Tom

glad to hear that my

glad to hear that my assistance helped.

-- Alex Tutubalin