Skip to main content
Medoomi
Participating Frequently
November 19, 2017
Question

compiling DNG SDK - unresolved external symbols

  • November 19, 2017
  • 1 reply
  • 2789 views

Please bear with me, as I'm just learning visual basic. I'm at the initial stages of checking that the SDK is installed correctly, but when I build dng_validate, I am stuck with two unresolved external symbols: gVerbose, and gDumpLineLimit

My steps so far are as follows:

1) I'm using Visual Basic 2017, so I also installed Visual Basic 2013 (update 5), in order to work correctly with the v120 platform toolset

2) Under dng_validate properties, the Platform toolset is indeed set to Visual Basic 2013 v.120

3) my folder structure after unpacking the dng_sdk 1.4 contains the three folders, & one file:

     dng_sdk

     libjpeg

     xmp

     ReadMe.txt

4) within the libjpeg folder, I have renamed jconfig.vc to jconfig.h

Are there any other dependencies I need to install? or steps to take to have dng_validate correctly compile?

This topic has been closed for replies.

1 reply

Inspiring
November 20, 2017

gVerbose and gDumpLineLimit are declared in dng_globals.cpp, which is part of the SDK, if the qDNGValidate macro symbol is defined.

Either you aren't compiling/linking to dng_global.cpp, or qDNGValidate isn't defined for the dng_global.cpp compilation

Medoomi
MedoomiAuthor
Participating Frequently
November 22, 2017

sandy_mc

Thanks so much for your reply.

dng_globals.cpp is part of the dng_sdk. Is there something I need to do to have dng_validate recognize this?

Here's a screenshot of the solution explorer (VS2013):

And the errors after building/debugging:

Any clues what could be going wrong?

thanks!

Inspiring
November 22, 2017

Well, your solution explorer screenshot can't possibly compile - it's missing a vast number of files in the dng_sdk section, unless the SDK is being included somewhere else. I'd suggest using the project file supplied with the SDK.