Bug #1103

exiv2.hpp:55:24: fatal error: pngimage.hpp: No such file or directory

Added by Jakub Wilk over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:09 Aug 2015
Priority:NormalDue date:
Assignee:Robin Mills% Done:

100%

Category:buildEstimated time:1.00 hour
Target version:0.26

Description

I built Exiv2 with PNG support disabled (--without-zlib).
But now I can't include the exiv2/exiv2.hpp header, because it references pngimage.hpp, which doesn't exist:

/usr/local/include/exiv2/exiv2.hpp:55:24: fatal error: pngimage.hpp: No such file or directory
 #include "pngimage.hpp" 
                        ^

Associated revisions

History

#1 Updated by Robin Mills over 2 years ago

I've never built exiv2 without zlib (nor without expat). Can you add a guard around that:

#ifdef   EXV_HAVE_LIBZ
#include "pngimage.hpp" 
#endif

#2 Updated by Jakub Wilk over 2 years ago

Thanks, #ifdef EXV_HAVE_LIBZ fixes it for me.

#3 Updated by Robin Mills over 2 years ago

  • Category set to api
  • Assignee set to Andreas Huggel
  • Target version set to 0.26

Fixed r3888.

#4 Updated by Robin Mills over 2 years ago

  • Category changed from api to build
  • Status changed from New to Closed
  • Assignee changed from Andreas Huggel to Robin Mills
  • % Done changed from 0 to 100
  • Estimated time set to 1.00

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux