You need additional define You need additional define LIBRAW_LIBRARY_BUILD to build the library -- Alex Tutubalin @LibRaw LLC reply
You need additional define LIBRAW_LIBRARY_BUILD to build the library