[mythtv-users] rpmfusion MythTV 30 compile error

Udo van den Heuvel udovdh at xs4all.nl
Sat Nov 2 16:42:10 UTC 2019


On 02-11-2019 17:19, Udo van den Heuvel wrote:
> imagemetadata.cpp: In constructor
> ‘PictureMetaData::PictureMetaData(const QString&)’:
> imagemetadata.cpp:315:19: error: ‘Error’ in namespace ‘Exiv2’ does not
> name a type
>   315 |     catch (Exiv2::Error &e)
>       |                   ^~~~~
> In file included from /usr/include/qt5/QtCore/qcoreapplication.h:43,
>                  from /usr/include/qt5/QtCore/QCoreApplication:1,
>                  from imagemetadata.h:12,
>                  from imagemetadata.cpp:1:
> imagemetadata.cpp:317:74: error: ‘e’ was not declared in this scope
>   317 |         LOG(VB_GENERAL, LOG_ERR, LOC + QString("Exiv2 exception
> %1").arg(e.what()));
>       |
>         ^
> imagemetadata.cpp:317:9: note: in expansion of macro ‘LOG’
>   317 |         LOG(VB_GENERAL, LOG_ERR, LOC + QString("Exiv2 exception
> %1").arg(e.what()));
>       |         ^~~
> make: *** [Makefile:1694: obj/imagemetadata.o] Error 1


The patch down the page at
https://forums.gentoo.org/viewtopic-t-1076182-start-0.html appears to
allow the compile to continue but is that a real fix?

Kind regards,
Udo


More information about the mythtv-users mailing list