Please make sure
1) you use same LibRaw version (.h files) for your code and for linking
2) you use same compilation options (esp. structure aligning) in libraw build and in your code build.
The symptoms you describe seem to be either 1) different versions of header files 2) or different calculated offsets due to different structure fields alignment.
Please make sure
1) you use same LibRaw version (.h files) for your code and for linking
2) you use same compilation options (esp. structure aligning) in libraw build and in your code build.
The symptoms you describe seem to be either 1) different versions of header files 2) or different calculated offsets due to different structure fields alignment.