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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Tobia Tesan
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.

Please find the attached full output from:

> cmake . > cmake.log 2> cmake.err && make > make.log 2> make.err

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
<[hidden email]>
<sip:[hidden email]>
"Computer science is no more about computers than astronomy is about
  telescopes."
     -- Edsger Dijkstra


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

cmake.err (2K) Download Attachment
cmake.log (11K) Download Attachment
make.err (5K) Download Attachment
make.log (137K) Download Attachment
session.term (476 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Andrew Goodbody
On 19/03/16 16:53, Tobia Tesan wrote:
> 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:

...

> Is there a surefire, tested configuration to build digikam on?

Follow the instructions linked below and tell us what problems you have,
with the addition of the command
export GITSLAVE=.gitslave.devel
before the command ./download-repos

https://www.digikam.org/download/GIT

Andrew
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel