libraw with Adobe DNG SDK problem

Hi Team,

I'm currently building a dll using libraw with adobe dng sdk to be used in windows appplication. I have followed the instructions in README.DNG.

I have created a DNG SDK 1.4 static library and linked in the libraw project. I have also included the directory of adobe dng src to libraw project. I did defined qWinUniversal in dng_sdk project.

I have defined USE_DNGSDK in the libraw project and upon compilation the following errors were prompted (see attached screenshot). It seems like it cannot locate the definition body in the dng_sdk lib.

Please let me know if I did missed some steps.

Thank you and best regards,

Image icon vs_error.png176.22 KB


Looks like you have not add

Looks like you have not added required XMP SDK (XMPCore) to your build.

-- Alex Tutubalin @LibRaw LLC

Do you mean in the dng sdk

Do you mean in the dng sdk build? As stated in the dng sdk readme,


Building DNG SDK requires the XMP SDK. This package includes the XMP
SDK headers and pre-built static libraries for Mac OS (64-bit) and
Windows (32-bit and 64-bit). Thus if you plan to build the DNG SDK on
Mac OS using Xcode and/or on Windows using Visual Studio/C++, no
further action is needed."

I'm not sure how to include it in the project as it said no further action is needed in Windows.

Have you tried building a dng

Have you tried building a dng_validate example from DNG SDK?

Your error screenshot lists missing symbols from XMPCore library, that's why I'm pretty sure you didn't add it to the your build.

-- Alex Tutubalin @LibRaw LLC