[Digikam-users] compilation error: libmarblewidget

Simon Frei freisim93 at gmail.com
Fri Oct 9 19:27:29 BST 2015


Thanks all for the help, I will therefore compile it without geomapping 
for the moment and am looking forward to digikam 5.

On 09/10/15 07:01, Gilles Caulier wrote:
> As i seen, marble Qt( and marble Qt4 use the same cmake rules for 
> detection purposes. Typically, marble Qt5 is not yet fully ported as a 
> KF5 components (in cmake viewpoint) to be distinguished of qt4 version 
> properly.
>
> My solution here : be sure of marble Qt version you use to compile 
> digiKam. If i want to compile digiKam 5, i need Qt 5 version. So i 
> checkout all code from marble Qt5, compile and install it. I take a 
> care to not mix Qt4 version, else it's a big mess. The same rules must 
> be respected to compile digiKam 4 with marble Qt4.
>
> Note : marble Qt5 will be released as a pure KF5 component soon. 
> digiKam 5 beta 1 is planed to one week, if all is ready. Be patient...
>
> Gilles Caulier
>
>
>
> 2015-10-09 2:54 GMT+02:00 Philip Johnsson <philip.johnsson at gmail.com 
> <mailto:philip.johnsson at gmail.com>>:
>
>     I can add as a feedback the way this was solved in ubuntu (wily)
>     that is the next coming release that also is using qt5 and
>     libmarbewidget-qt5-22 this way with libmarble is to build digikam
>     4.x without marble support which mean that you don't get the
>     geo-loacation and map features in digikam. might be the only way
>     to build digikam 4.x on your qt5 shifting system until digikam 5.x
>     is out there for production use.
>
>     /Philip
>
>     On Fri, Oct 9, 2015 at 12:12 AM, Philip Johnsson
>     <philip.johnsson at gmail.com <mailto:philip.johnsson at gmail.com>> wrote:
>
>         Not sure exactly what's going on with the
>         MarbleWidgetConfig.cmake it searching for but it looks like
>         you are building digikam 4.x against qt5 libraries and that
>         will not work as digikam 4.x only works with qt4. Digikam 5.x
>         is all about qt5 but that is under development.
>
>         That's what my thoughts are.
>
>         /Philip
>
>
>         On Fri, Oct 9, 2015 at 12:02 AM, Simon Frei
>         <freisim93 at gmail.com <mailto:freisim93 at gmail.com>> wrote:
>
>             sHi
>
>             I am trying to compile digikam 4.13 on debian stretch.
>             When running the bootstrap script I get the following
>             error, even though I have the packages "libmarble-dev" and
>             "libmarbewidget-qt5-22" installed. It would be great if
>             you could point me to the actual problem here, because I
>             am stuck.
>
>             CMake Warning at extra/libkgeomap/CMakeLists.txt:24
>             (find_package):
>               By not providing "FindMarble.cmake" in CMAKE_MODULE_PATH
>             this project has
>               asked CMake to find a package configuration file
>             provided by "Marble", but
>               CMake did not find one.
>               Could not find a package configuration file provided by "M
>               any of the following names:
>
>                 MarbleWidgetConfig.cmake
>                 marblewidget-config.cmake
>
>               Add the installation prefix of "MarbleWidget" to CMAKE_PRE
>               "MarbleWidget_DIR" to a directory containing one of the ab
>               "MarbleWidget" provides a separate development package or
>               has been installed.
>
>
>             CMake Error at extra/libkgeomap/CMakeLists.txt:27 (find_pack
>               By not providing "FindMarbleWidget.cmake" in CMAKE_MODULE_
>               has asked CMake to find a package configuration file provi
>               "MarbleWidget", but CMake did not find one.
>
>               Could not find a package configuration file provided by "M
>               any of the following names:
>
>                 MarbleWidgetConfig.cmake
>                 marblewidget-config.cmake
>
>               Add the installation prefix of "MarbleWidget" to CMAKE_PRE
>               "MarbleWidget_DIR" to a directory containing one of the ab
>               "MarbleWidget" provides a separate development package or
>               has been installed.
>
>             As a fix I added the two files in the attachment into
>             extras/libkgeomap/cmake/modules which got rid of the above
>             errors, but the following occured:
>
>             CMake Error: The following variables are used in this
>             project, but they are set to NOTFOUND.
>             Please set them or make sure they are set and tested
>             correctly in the CMake files:
>             LIBMARBLEWIDGET_LIBRARY (ADVANCED)
>                 linked by target "kgeomap" in directory
>             /home/simon/Programme/Linux/source/digikam-4.13.0/extra/libkgeomap/libkgeomap
>
>             -- Configuring incomplete, errors occurred!
>
>             I tried to set the variable manually in the bootstrap
>             script by adding
>             LIBMARBLEWIDGET_LIBRARY=/usr/lib/x86_64-linux-gnu/ where
>             the file "libmarblewidget-qt5.so" is located, but that did
>             not change anything.
>             Thanks in advance for any of your help.
>
>             Cheers,
>             Simon
>
>
>             _______________________________________________
>             Digikam-users mailing list
>             Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>             https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
>
>     _______________________________________________
>     Digikam-users mailing list
>     Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20151009/14b94756/attachment.html>


More information about the Digikam-users mailing list