[KPhotoAlbum] Compiling with KGeoMap support

Benny Simonsen benny at slbs.dk
Sun Feb 26 08:45:02 GMT 2017


Hi,

I would like to compile KPA with KGeoMap support on a Debian Stretch
(testing), and have installed all prerecusites listed here
https://userbase.kde.org/Building_KPhotoAlbum, but KIPI
cmake command (executed in empty build dir):
cmake -DCMAKE_INSTALL_PREFIX=~/.local -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DMARBLE_LIBRARIES=/usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so ..
Output listed below.

I have included -DMARBLE_LIBRARIES=... (to get Marble support, but don't
know if I should do it).

What more should I do to get KgeoMap included?

Br,
Benny

Content of libkf5kgeomap-dev

benny at dovre:~/inst/kphotoalbum/build$ dpkg -l libkf5kgeomap\*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                        Version
Architecture               Description
+++-===========================================-==========================-==========================-============================================================================================
ii  libkf5kgeomap-data                          16.08.0-1
all                        World-Map Library interface for KDE - data files
ii  libkf5kgeomap-dev                           16.08.0-1+b1
amd64                      World-Map Library interface for KDE -
development files
ii  libkf5kgeomap10.0.0                         16.08.0-1+b1
amd64                      World-Map Library interface for KDE - shared
library
benny at dovre:~/inst/kphotoalbum/build$ dpkg -L libkf5kgeomap-dev
/.
/usr
/usr/include
/usr/include/KF5
/usr/include/KF5/KGeoMap
/usr/include/KF5/KGeoMap/KGeoMap
/usr/include/KF5/KGeoMap/KGeoMap/AbstractMarkerTiler
/usr/include/KF5/KGeoMap/KGeoMap/DragDropHandler
/usr/include/KF5/KGeoMap/KGeoMap/GeoCoordinates
/usr/include/KF5/KGeoMap/KGeoMap/GroupState
/usr/include/KF5/KGeoMap/KGeoMap/GroupStateComputer
/usr/include/KF5/KGeoMap/KGeoMap/ItemMarkerTiler
/usr/include/KF5/KGeoMap/KGeoMap/LookupAltitude
/usr/include/KF5/KGeoMap/KGeoMap/LookupFactory
/usr/include/KF5/KGeoMap/KGeoMap/MapWidget
/usr/include/KF5/KGeoMap/KGeoMap/ModelHelper
/usr/include/KF5/KGeoMap/KGeoMap/TileIndex
/usr/include/KF5/KGeoMap/KGeoMap/TrackReader
/usr/include/KF5/KGeoMap/KGeoMap/Tracks
/usr/include/KF5/KGeoMap/KGeoMap/Types
/usr/include/KF5/KGeoMap/kgeomap
/usr/include/KF5/KGeoMap/kgeomap/abstractmarkertiler.h
/usr/include/KF5/KGeoMap/kgeomap/dragdrophandler.h
/usr/include/KF5/KGeoMap/kgeomap/geocoordinates.h
/usr/include/KF5/KGeoMap/kgeomap/groupstate.h
/usr/include/KF5/KGeoMap/kgeomap/groupstatecomputer.h
/usr/include/KF5/KGeoMap/kgeomap/itemmarkertiler.h
/usr/include/KF5/KGeoMap/kgeomap/libkgeomap_export.h
/usr/include/KF5/KGeoMap/kgeomap/lookupaltitude.h
/usr/include/KF5/KGeoMap/kgeomap/lookupfactory.h
/usr/include/KF5/KGeoMap/kgeomap/mapwidget.h
/usr/include/KF5/KGeoMap/kgeomap/modelhelper.h
/usr/include/KF5/KGeoMap/kgeomap/tileindex.h
/usr/include/KF5/KGeoMap/kgeomap/trackreader.h
/usr/include/KF5/KGeoMap/kgeomap/tracks.h
/usr/include/KF5/KGeoMap/kgeomap/types.h
/usr/include/KF5/libkgeomap_version.h
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5KGeoMap
/usr/lib/x86_64-linux-gnu/cmake/KF5KGeoMap/KF5KGeoMapConfig.cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5KGeoMap/KF5KGeoMapConfigVersion.cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5KGeoMap/KF5KGeoMapTargets-debian.cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5KGeoMap/KF5KGeoMapTargets.cmake
/usr/share
/usr/share/doc
/usr/share/doc/libkf5kgeomap-dev
/usr/share/doc/libkf5kgeomap-dev/changelog.Debian.amd64.gz
/usr/share/doc/libkf5kgeomap-dev/changelog.Debian.gz
/usr/share/doc/libkf5kgeomap-dev/copyright
/usr/lib/x86_64-linux-gnu/libKF5KGeoMap.so
benny at dovre:~/inst/kphotoalbum/build$

Last part of CMake output:
-- Checking C++11 support for "variadic_templates": works
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- No Kipi library version required. Check default version : 1.2.0
-- Check Kipi library in local sub-folder...
-- Check Kipi library using pkg-config...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for module 'libkipi>=1.2.0'
--
-- Could NOT find KIPI (missing:  KIPI_LIBRARIES KIPI_INCLUDE_DIR)
-- Check for Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- Checking for module 'libkdcraw'
--   Found libkdcraw, version 2.4.2
-- Found libkdcraw release 2.4.2
-- Found libkdcraw: /usr/lib/libkdcraw.so
-- Found Exiv2: /usr/lib/x86_64-linux-gnu/libexiv2.so (found suitable
version "0.25.0", minimum required is "0.12")
-- Found marble: /usr/include/marble
-- Did not find KFace >= 3.5.0 (optional)
--   Face detection and recognition features won't be built.
-- Did not find KGeoMap (optional)
--   Geographic map features won't be built.
CMake Warning (dev) at /usr/lib/automoc4/Automoc4Config.cmake:179
(get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in
directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:1043
(_automoc4_kde4_pre_target_handling)
  CMakeLists.txt:451 (kde4_add_executable)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/automoc4/Automoc4Config.cmake:179
(get_directory_property):
  Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in
directory
  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:1103
(_automoc4_kde4_pre_target_handling)
  CMakeLists.txt:453 (kde4_add_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/benny/inst/kphotoalbum/build2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20170226/9271662c/attachment.htm>


More information about the Kphotoalbum mailing list