easymodo / qimgv

Image viewer. Fast, easy to use. Optional video support.
GNU General Public License v3.0
2.35k stars 167 forks source link

Compilation failed with new exiv2 version #481

Closed DigitalDragon64 closed 1 year ago

DigitalDragon64 commented 1 year ago

exiv2 has removed AnyError, which is still used in qimgv/sourcecontainers/documentinfo.cpp. Current compilation on Arch Linux via yay from the AUR fails because of following error:

/home/$USER/qimgv/qimgv/sourcecontainers/documentinfo.cpp:272:19: error: ‘AnyError’ in namespace ‘Exiv2’ does not name a type 272 | catch (Exiv2::AnyError& e) { | ^~~~

DigitalDragon64 commented 1 year ago

Replace Exiv2::AnyError with Exiv2::Error seems to solve the problem. If I'm seeing this correctly, it was only a name change for exiv2, so this should be the ideal solution.

DigitalDragon64 commented 1 year ago

482 Added a pull request, which should solve the issue

easymodo commented 1 year ago

merged