[Digikam-devel] Compiling DigiKam: conflicting return type specified for virtual void Digikam::KipiInterface::preview(const QUrl&, int)

Gilles Caulier caulier.gilles at gmail.com
Sat Mar 19 21:27:32 GMT 2016


your libkipi is outdated. You need current git/master code from libkipi to
compile current digiKam until final digiKam release. libikipi API is not
yet fully stabilized, and library is not yet released officially.

Gilles Caulier

2016-03-19 18:06 GMT+01:00 Tobia Tesan <tobia.tesan at gmail.com>:

> Hello, I'm having a particularly hard time compiling DigiKam.
>
> I'm trying to build 71bed47 on a clean Fedora 23 machine, and I hit this
> error:
>
> In file included from
>>
>> /home/tobia/Desktop/digikam/utilities/kdesupport/kipi/kipiimagecollectionselector.cpp:49:0:
>>
>> /home/tobia/Desktop/digikam/utilities/kdesupport/kipi/kipiinterface.h:86:12:
>> error: conflicting return type specified for ‘virtual void
>> Digikam::KipiInterface::preview(const QUrl&, int)’
>>      void   preview(const QUrl& url, int resizedTo);
>>             ^
>> In file included from /usr/include/KF5/KIPI/KIPI/Interface:1:0,
>>                  from
>> /home/tobia/Desktop/digikam/utilities/kdesupport/kipi/kipiinterface.h:41,
>>                  from
>>
>> /home/tobia/Desktop/digikam/utilities/kdesupport/kipi/kipiimagecollectionselector.cpp:49:
>> /usr/include/KF5/KIPI/kipi/interface.h:356:20: error:   overriding
>> ‘virtual QImage KIPI::Interface::preview(const QUrl&, int)’
>>      virtual QImage preview(const QUrl& url, int minSize);
>>                     ^
>>
>
> I am rather clueless.
>
> On a fresh clone the command sequence:
>
> [tobia at Host-001 digikam]$ git show -s
>> commit 71bed47d905e779fc9b009f930cfed4e8fff80ab
>> Author: Maik Qualmann <metzpinguin at gmail.com>
>> Date: Fri Mar 18 20:18:33 2016 +0100
>>
>> polish const and not needed includes
>> [tobia at Host-001 digikam]$ git diff
>> [tobia at Host-001 digikam]$ cmake . > cmake.log 2> cmake.err && make >
>> make.log 2> make.err
>>
>
> yields:
>
> make.log: http://pastebin.com/5B9EtuGh
> make.err: http://pastebin.com/wL55bU3W
> cmake.log: http://pastebin.com/WiSVcgQM
> cmake.err: http://pastebin.com/YjkF4Aty
>
> (Sorry for not attaching them directly, their length triggers a ML filter)
>
> I have tried the latest tag, with the same results.
>
> I also tried the digikam collection repository, but had a number of other,
> different issues with building dependencies.
>
> Is there a surefire, tested configuration to build digikam on?
> A preferred distro I can install on a fresh VM?
>
> Thank you very much.
>
>
> --
> Tobia Tesan
> <tobia.tesan at gmail.com>
> <sip:tobia.tesan at ekiga.net>
> "Computer science is no more about computers than astronomy is about
>   telescopes."
>      -- Edsger Dijkstra
>
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20160319/2c58ee5a/attachment.html>


More information about the Digikam-devel mailing list