exiv2 issue

Gilles Caulier caulier.gilles at gmail.com
Thu Nov 9 15:51:39 GMT 2023


Maik,

Look like the version of Exiv2 is not detected at all under Windows
with VCPKG. I cleaned the build directory of digiKam and started cmake
config again. It's clear that version info is empty :

-- Found LibExiv2: E:/dk/x64-windows/lib/exiv2.lib (found version "..")
CMake Error at core/cmake/rules/RulesLibExiv2.cmake:18 (message):
  Exiv2 version is too old (..)! Minimal version required:0.27.1.
Call Stack (most recent call first):
  core/CMakeLists.txt:72 (include)

Gilles

Le jeu. 9 nov. 2023 à 16:43, Gilles Caulier <caulier.gilles at gmail.com> a écrit :
>
> Maik,
>
> Under MacOS with Exiv2 0.28.1, the compilation pass without problem.
>
> Gilles
>
> Le jeu. 9 nov. 2023 à 14:24, <leoutation at gmx.fr> a écrit :
> >
> > On 11/9/23 08:02, Maik Qualmann wrote:
> > > The compilation problems are now fixed in git/master.
> >
> > Compilation  is fixed now for me. Thanks
> > >
> > > Maik
> > >
> > > Am Mittwoch, 8. November 2023, 21:13:28 CET schrieb leoutation at gmx.fr:
> > >> On 11/8/23 19:53, Maik Qualmann wrote:
> > >>> Apart from you compiling problem, Exiv2 has nothing to do with displaying
> > >>> layers in XCF files.
> > >>
> > >> OK, i have to try to build first.
> > >> Here full error message:
> > >>
> > >> -- Configuring done (38.0s)
> > >> CMake Error at core/libs/metadataengine/CMakeLists.txt:106
> > >> (include_directories):
> > >>     Error evaluating generator expression:
> > >>
> > >>       $<TARGET_PROPERTY:exiv2lib,INTERFACE_INCLUDE_DIRECTORIES>
> > >>
> > >>     Target "exiv2lib" not found.
> > >>
> > >>
> > >> CMake Error at core/libs/metadataengine/CMakeLists.txt:106
> > >> (include_directories):
> > >>     Error evaluating generator expression:
> > >>
> > >>       $<TARGET_PROPERTY:exiv2lib,INTERFACE_INCLUDE_DIRECTORIES>
> > >>
> > >>     Target "exiv2lib" not found.
> > >>
> > >>> Maik
> > >>>
> > >>> Am Mittwoch, 8. November 2023, 19:00:03 CET schrieb leoutation at gmx.fr:
> > >>>> On 11/8/23 18:45, Gilles Caulier wrote:
> > >>>>> Hi,
> > >>>>>
> > >>>>> Clean up the build dir properly. It's known that Exiv2 can be
> > >>>>> problematic when upgrading the library.
> > >>>>
> > >>>> I did it, i get same issue
> > >>>>
> > >>>>> Take care also about the headers files available. Do not mix 2
> > >>>>> different versions of the library. It's known that Exiv2 does not
> > >>>>> support this kind of usage.
> > >>>>
> > >>>> I have only exiv2 and libgexiv2 (Gimp depend)  installed on my system
> > >>>>
> > >>>>> Best
> > >>>>>
> > >>>>> Gilles Caulier
> > >>>>>
> > >>>>> Le mer. 8 nov. 2023 à 18:42, <leoutation at gmx.fr> a écrit :
> > >>>>>> Hi
> > >>>>>> I get CMake error when building digikam git
> > >>>>>> 'Target "exiv2lib" not found'
> > >>>>>> But exiv2 is installed on my Arch system
> > >>>>>> https://archlinux.org/packages/extra/x86_64/exiv2/
> > >>>>>> version: exiv2 0.28.1-1  /usr/include/exiv2/exiv2lib_export.h
> > >>>>>> To know: i suspect this exiv2 version causing  issue (1) with XCF
> > >>>>>> files,
> > >>>>>> that's why i try to build again digikam git.
> > >>>>>> (1) Digikam git doesn't display layers in XCF files
> > >>>>>>
> > >>>>>> --
> > >>>>>> Maderios
> > >>>>
> > >>>> --
> > >>>> Maderios
> > >>
> > >> --
> > >> Maderios
> > >
> > >
> > >
> > >
> >
> > --
> > Maderios
> >


More information about the Digikam-users mailing list