Hello!
I'm trying to build dcraw_emu with the DNG SDK support enabled and I can't figure out how to get the DNG SDK to generate static or dynamic libs to link against. I saw the commented out lines to enable DNG SDK Support in Makefile.dist, but when I build dngvalidate, it just builds the executable and doesn't populate libs into a release folder like the makefile is expecting.
Are there any steps available for how to build the DNG SDK into a format that works with the libraw makefiles? I'm trying to build on macOS and Linux, but I'd take any help or pointers for either.
Thanks!
Nora
We cannot provide support for
We cannot provide support for components from other vendors. For all questions related to dng sdk please contact Adobe support.
As an exception for the rule above: to create Adobe DNG SDK library (shared or static) just create corresponding build target (static or shared library) in your build environment (MS VS, XCode, whatever...) with all Adobe DNG SDK sources excluding source/dng_validate.cpp
-- Alex Tutubalin @LibRaw LLC
I'm building the DNG SDK
I'm building the DNG SDK using cmake and this CMakeLists.txt. This creates a static library, on Windows, Linux and macos.
Oh and I'm applying this
Oh and I'm applying this patch to make it compatible with current jxl library:
No worries Alex, thanks for
No worries Alex, thanks for the reply and thanks joostn for your CMake steps!
I had started on a process from scratch last week after seeing Alex's reply and put up a gist for the macOS side here before I saw joostn's reply: https://gist.github.com/mikamikem/4e826bb9cf5beacd86ba00e42ba0b115#file-...
Linux steps here: https://gist.github.com/mikamikem/6cf1530b2fa7b011eadd46e19ed9aab7#file-...
I'm not a huge fan of my steps (a few of the stages feel like major hacks), so I might re-approach this with your CMake file and diff when I have time in the future. Thanks again for sharing!