Skip navigation
Currently Being Moderated

XMPFilesStaticRelease.lib(zutil.obj) : error LNK2001: unresolved external symbol _gzflags

Jun 29, 2012 6:40 AM

Hello

I get the following message when i try to run the XMP examples in release mode.

 

XMPFilesStaticRelease.lib(zutil.obj) : error LNK2001: unresolved external symbol _gzflags

 

Im using:

MS Visual C++ 2008 express edition

XMP-Toolkit-SDK-5.1.2

zlib 1.2.6

 

Best regards

/ Pontus Hulin

 
Replies
  • Currently Being Moderated
    Jul 2, 2012 2:50 AM   in reply to Pontus Hulin

    Hello,

    this seems to be a breaking change in zlib 1.2.6. Internally we are still using zlib 1.2.5 which doesn't have this problem.

    So you can either go back to zlib 1.2.5 or define Z_SOLO under Preprocessor Definitions for XMPFiles. The function gzflags isn't used when zlib is compiled with Z_SOLO.

     

    Cheers,

    Jens

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points