Continuing from ticket

http://wiki.linuxfromscratch.org/blfs/ticket/12021

From Ken:

Appears to break gegl-0.14.4

make[2]: Entering directory '/scratch/working/gegl-0.4.14/tools'
  CXX      exp_combine-exp_combine.o
exp_combine.cpp: In function 'gfloat expcombine_get_file_ev(const gchar*)':
exp_combine.cpp:64:17: error: 'Error' in namespace 'Exiv2' does not name a type
   catch (Exiv2::Error ex)
                 ^~~~~
exp_combine.cpp:85:17: error: 'Error' in namespace 'Exiv2' does not name a type
   catch (Exiv2::Error ex)
                 ^~~~~
make[2]: *** [Makefile:732: exp_combine-exp_combine.o] Error 1

=======

Looking at the code, the exception 'ex' is not used.

I had a hack that fixed it up but that's not necessary. In gegl, we now need:

sed -i '/exif.hpp/a#include <exiv2/error.hpp>' tools/exp_combine.cpp

With that and exiv-0.27.1, gegl-0.4.14 builds fine for me.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to