Bug 283856

Summary: DMetadata engine cannot be compiled with exiv2 0.22
Product: [Applications] digikam Reporter: son_of_the_osiris
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor CC: caulier.gilles
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 2.3.0

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