Project

General

Profile

Bug #1103

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

Added by Jakub Wilk about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
build
Target version:
Start date:
09 Aug 2015
Due date:
% Done:

100%

Estimated time:
1.00 h

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 about 4 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 about 4 years ago

Thanks, #ifdef EXV_HAVE_LIBZ fixes it for me.

#3

Updated by Robin Mills almost 4 years ago

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

Fixed r3888.

#4

Updated by Robin Mills almost 4 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 h

Also available in: Atom PDF