Windows platform libraw bring in dng sdk has no effect or can't open dng file

Windows platform libraw bring in dng sdk has no effect or can't open dng file

I compiled dngsdk under Windows as described in dngsdk.txt and tested dng_validate and it works fine
But when I bring the entire dng sdk header file and static library into libraw to compile and set the `USE_DNGSDK ` preprocessing macro, it compiles fine but when I open the dng file with libraw, it tells me that it can't be opened for unsupported file formats. So I would like to ask if I am missing something?

Forums: 

Problem Solving

USE_ZLIB USE_JPEG must be used together when using DNG_SDK

Libraw uses DNG SDK only for

Libraw uses DNG SDK only for data decoding. Metadata decoding is performed by LibRaw's code.
So, if you do not provide ZLIB and/or JPEG support to LibRaw it will refuse ZLIB and/or JPEG compressed DNG files at parse stage.

-- Alex Tutubalin @LibRaw LLC