[Digikam-users] How to build Digikam?
Gilles Caulier
caulier.gilles at gmail.com
Wed Jul 9 14:16:35 BST 2008
2008/7/9 Gandalf Lechner <gandalf.lechner at univie.ac.at>:
> Hi Geoff,
>
> Am Mittwoch 09 Juli 2008 14:40:34 schrieb Geoff King:
>> Hi Gandalf, and others trying to use kubuntu/ubuntu to install 0.10beta.
>>
>> I am in the same position - no thumbnails or images. The bug report I
>> filed a few days ago sounds like the same thing.
>> http://bugs.kde.org/show_bug.cgi?id=165885
>>
>> Did the rescan or restart help?
>
> No, unfortunately not.
>
> I can see images on my camera, but not in the albums. I can open images with
> showfoto, though, and see the thumbnails during the "create all thumbnails"
> business.
> Moreover, when I check the config dialog of digikam, I see "0 kipi plugins
> found", although they were compiled and installed from svn.
>
> Finally, I did a fresh checkout, which gave me some more trouble: While the
> cmake script for the graphics folder says "congratulations! all external
> packages have been found", make fails, with the message
>
> [ 61%] Building CXX object
> libs/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/kexiv2xmp.o
> Linking CXX shared library ../../../lib/libkexiv2.so
> CMakeFiles/kexiv2.dir/kexiv2image.o: In function
> `KExiv2Iface::KExiv2::setImageDateTime(QDateTime const&, bool, bool) const':
> /home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:715:
> undefined reference to `Exiv2::XmpData::add(Exiv2::XmpKey const&, Exiv2::Value
> const*)'
> /home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:716:
> undefined reference to `Exiv2::XmpData::add(Exiv2::XmpKey const&, Exiv2::Value
> const*)'
> /home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:717:
> undefined reference to `Exiv2::XmpData::add(Exiv2::XmpKey const&, Exiv2::Value
> const*)'
> /home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:718:
> undefined reference to `Exiv2::XmpData::add(Exiv2::XmpKey const&, Exiv2::Value
> const*)'
> /home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:719:
> undefined reference to `Exiv2::XmpData::add(Exiv2::XmpKey const&, Exiv2::Value
> const*)'
> CMakeFiles/kexiv2.dir/kexiv2image.o:/home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp:720:
> more undefined references to `Exiv2::XmpData::add(Exiv2::XmpKey const&,
> Exiv2::Value const*)' follow
> CMakeFiles/kexiv2.dir/kexiv2xmp.o: In function `KExiv2Iface::KExiv2::getXmp()
> const':
> /home/gandalf/down/svn/kde4/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2xmp.cpp:105:
> undefined reference to `Exiv2::XmpParser::encode(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >&, Exiv2::XmpData const&,
> unsigned short, unsigned int)'
> collect2: ld returned 1 exit status
> make[2]: *** [lib/libkexiv2.so.6.0.0] Error 1
> make[1]: *** [libs/libkexiv2/libkexiv2/CMakeFiles/kexiv2.dir/all] Error 2
> make: *** [all] Error 2
>
>
Here, you have both Exiv2 installed on your computer : one > 0.16 with
Xmp support (detected by CMake script), and one < 0.16 used to compile
libkexiv2. I don't know why the first one is not used to compile on
the right way.
Gilles Caulier
More information about the Digikam-users
mailing list