← Back to team overview

hugin-devs team mailing list archive

[Bug 2025577] Re: Hugin fails to compile with exiv2 v0.28.0 and newer

 

** Changed in: hugin
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/2025577

Title:
  Hugin fails to compile with exiv2 v0.28.0 and newer

Status in Hugin:
  Fix Released

Bug description:
  Building Hugin with exiv2 v0.28.0 and newer fails due to this change
  in exiv2:
  https://github.com/Exiv2/exiv2/commit/256365830a5ce7a917d48acca8ba0b58569f4510

  This is the error when compiling:

  hugin/src/hugin_base/panodata/SrcPanoImage.cpp: In member function ‘bool HuginBase::SrcPanoImage::readEXIF()’:
  hugin/src/hugin_base/panodata/SrcPanoImage.cpp:387:45: error: ‘class Exiv2::Xmpdatum’ has no member named ‘toLong’
    387 |                         croppedWidth = pos->toLong();
        |                                             ^~~~~~
  hugin/src/hugin_base/panodata/SrcPanoImage.cpp:397:46: error: ‘class Exiv2::Xmpdatum’ has no member named ‘toLong’
    397 |                         croppedHeight = pos->toLong();
        |                                              ^~~~~~
  hugin/src/hugin_base/panodata/SrcPanoImage.cpp:411:70: error: ‘class Exiv2::Xmpdatum’ has no member named ‘toLong’
    411 |                             hfov = 360 * croppedWidth / (double)pos->toLong();
        |                                                                      ^~~~~~
  hugin/src/hugin_base/panodata/SrcPanoImage.cpp:422:47: error: ‘class Exiv2::Xmpdatum’ has no member named ‘toLong’
    422 |                             fullHeight = pos->toLong();
        |                                               ^~~~~~
  hugin/src/hugin_base/panodata/SrcPanoImage.cpp:433:44: error: ‘class Exiv2::Xmpdatum’ has no member named ‘toLong’
    433 |                             cropTop = pos->toLong();
        |                                            ^~~~~~
  make[2]: *** [src/hugin_base/CMakeFiles/huginbase.dir/build.make:720: src/hugin_base/CMakeFiles/huginbase.dir/panodata/SrcPanoImage.cpp.o] Error 1
  make[1]: *** [CMakeFiles/Makefile2:754: src/hugin_base/CMakeFiles/huginbase.dir/all] Error 2
  make: *** [Makefile:156: all] Error 2

  This was the changeset I was trying to compile:

  changeset:   8617:729748be1738
  tag:         tip
  user:        tmodes
  date:        Sat Jul 01 10:34:45 2023 +0200
  summary:     Refactored writing pto file

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/2025577/+subscriptions



References