I would like to learn and use map mode in darktable from git. But I am not able to compile with map mode. As far as I understand, Darktable is not finding the installed osmgpsmap libraries and/or includes, and builds without map mode.
What do I need to build with map module enabled? Below are some details of my system configuration, and output from darktable build: # emerge sci-geosciences/osm-gps-map # updatedb # locate osmgps | grep 'usr/lib\|usr/incl' /usr/include/osmgpsmap /usr/include/osmgpsmap/osm-gps-map-compat.h /usr/include/osmgpsmap/osm-gps-map-image.h /usr/include/osmgpsmap/osm-gps-map-layer.h /usr/include/osmgpsmap/osm-gps-map-osd.h /usr/include/osmgpsmap/osm-gps-map-point.h /usr/include/osmgpsmap/osm-gps-map-source.h /usr/include/osmgpsmap/osm-gps-map-track.h /usr/include/osmgpsmap/osm-gps-map-widget.h /usr/include/osmgpsmap/osm-gps-map.h /usr/lib64/libosmgpsmap.so /usr/lib64/libosmgpsmap.so.2 /usr/lib64/libosmgpsmap.so.2.0.1 /usr/lib64/pkgconfig/osmgpsmap.pc /usr/lib64/python2.7/site-packages/osmgpsmap.so /usr/lib64/python2.7/site-packages/python_osmgpsmap-0.7.3-py2.7.egg-info # cd /usr/local/src/darktable/ # git pull remote: Counting objects: 43, done. remote: Compressing objects: 100% (43/43), done. remote: Total 43 (delta 21), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (43/43), done. From git://github.com/darktable-org/darktable 9419cbc..8f7e3e0 master -> origin/master c8c7718..fb2708e darktable-1.6.x -> origin/darktable-1.6.x Updating 9419cbc..8f7e3e0 Fast-forward src/common/darktable.c | 2 +- src/libs/tools/darktable.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) # rm -rf build/ ./build.sh Darktable build script Building directory: ./build Installation prefix: /opt/darktable/ Build type: Release Make program: make Make tasks: 8 -- The CXX compiler identification is GNU 4.8.3 -- The C compiler identification is GNU 4.8.3 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Looking for external programs -- Found perl -- Found intltool-merge -- Found xsltproc -- Found xmllint -- All external programs found -- Found Gettext -- Found msgfmt to convert language file. Translation enabled -- Try OpenMP C flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Try OpenMP CXX flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Found OpenMP: -fopenmp -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") -- checking for module 'gtk+-3.0' -- found gtk+-3.0, version 3.14.9 -- checking for module 'gdk-pixbuf-2.0' -- found gdk-pixbuf-2.0, version 2.30.8 -- checking for module 'glib-2.0' -- found glib-2.0, version 2.42.2 -- Found Glib -- checking for module 'pango' -- found pango, version 1.36.8 -- checking for module 'atk' -- found atk, version 2.14.0 -- Found GTK3: /usr/lib64/libgtk-3.so (Required is at least version "3.10") -- Found LibXml2: /usr/lib64/libxml2.so (found suitable version "2.9.2", minimum required is "2.6") -- checking for one of the modules 'libsoup-2.4;libsoup2' -- checking for one of the modules 'libsoup-2.2;libsoup2' -- Found GPHOTO2: /usr/lib64/libgphoto2.so -- Found OPENEXR: /usr/lib64/libIlmImf.so;/usr/lib64/libImath.so;/usr/lib64/libIex.so;/usr/lib64/libIlmThread.so -- checking for module 'libwebp' -- found libwebp, version 0.4.0 -- Found WEBP: /usr/lib64/libwebp.so (Required is at least version "0.3.0") -- checking for module 'lensfun' -- found lensfun, version 0.3.0.0 -- Found LENSFUN: /usr/lib64/liblensfun.so -- checking for module 'gio-2.0' -- found gio-2.0, version 2.42.2 -- Found GIO -- Found GThread: /usr/lib64/libgthread-2.0.so -- Found GModule: /usr/lib64/libgmodule-2.0.so -- Found PANGOCAIRO: /usr/lib64/libpangocairo-1.0.so -- Found PThread: /usr/lib64/libpthread.so -- Found RSVG2: /usr/lib64/librsvg-2.so -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.2") -- Found SQLITE3: /usr/lib64/libsqlite3.so -- Found EXIV2: /usr/lib64/libexiv2.so -- Found CURL: /usr/lib64/libcurl.so (found version "7.39.0") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.16") -- Found JPEG: /usr/lib64/libjpeg.so -- Found TIFF: /usr/lib64/libtiff.so (found version "4.0.3") -- Found LCMS2: /usr/lib64/liblcms2.so -- checking for module 'json-glib-1.0' -- found json-glib-1.0, version 1.0.2 -- Found JsonGlib -- Internationalization: Enabled -- Found FLICKCURL: /usr/lib64/libflickcurl.so -- checking for module 'libopenjpeg1' -- found libopenjpeg1, version 1.5.2 -- Found OpenJPEG: /usr/lib64/libopenjpeg.so -- checking for module 'libsecret-1' -- found libsecret-1, version 0.18 -- Found LIBSECRET: /usr/include/libsecret-1;/usr/include/glib-2.0;/usr/lib64/glib-2.0/include -- checking for module 'gnome-keyring-1' -- found gnome-keyring-1, version 3.12.0 -- Found GNOMEKEYRING: /usr/lib64/libgnome-keyring.so -- GnomeKeyring is only supported for versions older than 3.12.0, version 3.12.0 found. Please use libsecret instead. -- checking for module 'GraphicsMagick' -- found GraphicsMagick, version 1.3.18 -- Found GraphicsMagick -- Checking for -march=native support -- Performing Test MARCHNATIVE -- Performing Test MARCHNATIVE - Success -- checking for one of the modules 'lua5.2;lua-5.2;lua' -- Lua support: System library not found (to use darktable's version use -DDONT_USE_INTERNAL_LUA=Off) -- checking for module 'osmgpsmap-1.0' -- package 'osmgpsmap-1.0' not found -- Map mode: disabled, please install libosmgpsmap -- checking for module 'colord' -- found colord, version 1.2.9 -- checking for module 'colord-gtk' -- found colord-gtk, version 0.1.26 -- Found CUPS: /usr/lib64/libcups.so -- Print mode: enabled -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib64/libX11.so -- building darktable-cmstest with colord support. nice. -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- Found SDL: /usr/lib64/libSDLmain.a;/usr/lib64/libSDL.so (found version "1.2.15") -- Found OpenGL: /usr/lib64/libGL.so -- -- Found Java: /etc/java-config-2/current-system-vm/bin/java (found version "1.7.0.76") -- No saxon XSLT processor and/or no docbook saxon extension library found. Missing fop Xslt processor saxon not found. HTML usermanual will be built with xsltproc; expect usermanual with inconsistent screenshot and image dimensions. Can NOT build usermanual -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/darktable/build Any help is appreciated, thanks, Urs ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Darktable-users mailing list Darktable-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-users