Project

General

Profile

Bug #11568

Apparently pugixml 1.2 does not allow compiling from master

Added by YAFU YAFU about 2 years ago. Updated about 2 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
04/09/2017
Due date:
% Done:

100%

Affected Version:
git master branch
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Hi.
I consulted on IRC channel and it was recommended to open a report because pugixml 1.2 is listed as supported. I am using Kubuntu 14.04, Linux 64bits. libpugixml-dev and libpugixml1 v1.2 are installed.
For some days I get this error when I try to compile from master:
[ 19%] Building C object src/CMakeFiles/lib_darktable.dir/metadata_gen.c.o
[ 19%] Building C object src/CMakeFiles/lib_darktable.dir/version_gen.c.o
[ 21%] Building C object src/CMakeFiles/lib_darktable.dir/bauhaus/bauhaus.c.o
[ 21%] Building C object src/CMakeFiles/lib_darktable.dir/common/bilateral.c.o
[ 21%] Building C object src/CMakeFiles/lib_darktable.dir/common/bilateralcl.c.o
[ 21%] Building C object src/CMakeFiles/lib_darktable.dir/common/cache.c.o
[ 21%] Building C object src/CMakeFiles/lib_darktable.dir/common/calculator.c.o
[ 21%] Building C object src/CMakeFiles/lib_darktable.dir/common/collection.c.o
[ 21%] Building C object src/CMakeFiles/lib_darktable.dir/common/color_picker.c.o
[ 21%] Building C object src/CMakeFiles/lib_darktable.dir/common/colorlabels.c.o
[ 22%] Building C object src/CMakeFiles/lib_darktable.dir/common/colorspaces.c.o
[ 22%] Building C object src/CMakeFiles/lib_darktable.dir/common/curve_tools.c.o
[ 22%] Building C object src/CMakeFiles/lib_darktable.dir/common/cpuid.c.o
[ 22%] Building C object src/CMakeFiles/lib_darktable.dir/common/darktable.c.o
[ 22%] Building C object src/CMakeFiles/lib_darktable.dir/common/database.c.o
[ 22%] Building C object src/CMakeFiles/lib_darktable.dir/common/dbus.c.o
[ 22%] Building C object src/CMakeFiles/lib_darktable.dir/common/dtpthread.c.o
[ 22%] Building CXX object src/CMakeFiles/lib_darktable.dir/common/exif.cc.o
/media/yafu/LINUX2/home/yafu/Darktable Git/darktable/src/common/exif.cc: In function ‘GList* read_history_v1(const string&, const char*, int)’:
/media/yafu/LINUX2/home/yafu/Darktable Git/darktable/src/common/exif.cc:1737:39: error: ‘class pugi::xml_document’ has no member named ‘load_string’
pugi::xml_parse_result result = doc.load_string(xmpPacket.c_str());
^
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/exif.cc.o] Error 1
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
make: *** [all] Error 2

Associated revisions

Revision d97f205e
Added by Tobias Ellinghaus about 2 years ago

Fix #11568: Compilation with pugixml < 1.5

History

#1 Updated by Tobias Ellinghaus about 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

#2 Updated by YAFU YAFU about 2 years ago

Thank you! I can compile again.

#3 Updated by Roman Lebedev about 2 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF