Bug 283856 - DMetadata engine cannot be compiled with exiv2 0.22
Summary: DMetadata engine cannot be compiled with exiv2 0.22
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 2.2.0
Platform: Unlisted Binaries Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 11:38 UTC by son_of_the_osiris
Modified: 2022-01-31 16:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description son_of_the_osiris 2011-10-12 11:38:43 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I have got following error:
[  0%] Built target kexiv2_automoc
Linking CXX shared library ../lib/libkexiv2.so
CMakeFiles/kexiv2.dir/kexiv2.o: In function `KExiv2Iface::KExiv2::initializeExiv2()':
kexiv2.cpp:(.text+0xe8): undefined reference to `Exiv2::XmpParser::initialize()'
collect2: ld returned 1 exit status
make[2]: *** [lib/libkexiv2.so.10.0.1] Błąd 1
make[1]: *** [libkexiv2/CMakeFiles/kexiv2.dir/all] Błąd 2
make: *** [all] Error 2

Reproducible: Always

Steps to Reproduce:
Install new exciv2 0.22 and try to compile kde-graphics-libs.

Actual Results:  
This error:
[  0%] Built target kexiv2_automoc
Linking CXX shared library ../lib/libkexiv2.so
CMakeFiles/kexiv2.dir/kexiv2.o: In function `KExiv2Iface::KExiv2::initializeExiv2()':
kexiv2.cpp:(.text+0xe8): undefined reference to `Exiv2::XmpParser::initialize()'
collect2: ld returned 1 exit status
make[2]: *** [lib/libkexiv2.so.10.0.1] Błąd 1
make[1]: *** [libkexiv2/CMakeFiles/kexiv2.dir/all] Błąd 2
make: *** [all] Error 2

Expected Results:  
It should compile...
Comment 1 Christoph Feck 2011-10-12 12:17:48 UTC
That's odd, because it compiles fine here with libexiv2 0.22. Did you try a clean build?
Comment 2 caulier.gilles 2011-10-12 12:27:41 UTC
This is not a compilation, but a linking failure. Check your system...

Gilles Caulier
Comment 3 son_of_the_osiris 2011-10-12 18:29:34 UTC
(In reply to comment #2)
> This is not a compilation, but a linking failure. Check your system...
> 
> Gilles Caulier

(In reply to comment #1)
> That's odd, because it compiles fine here with libexiv2 0.22. Did you try a
> clean build?

Clean build help , thanks