Created attachment 56759 [details] build log Version: 2.0.0 (using KDE 4.6.0) OS: Linux Full build log will be attached. Excerpt: In file included from /usr/include/libkmap/itemmarkertiler.h:37, from /var/tmp/portage/media-plugins/kipi-plugins-2.0.0_beta2/work/digikam-2.0.0-beta2/extra/kipi-plugins/gpssync/gpssyncdialog.cpp:85: /usr/include/libkmap/abstractmarkertiler.h:162: Fehler: expected »,« or »...« before »&« token In file included from /usr/include/libkmap/itemmarkertiler.h:37, from /var/tmp/portage/media-plugins/kipi-plugins-2.0.0_beta2/work/digikam-2.0.0-beta2/extra/kipi-plugins/gpssync/gpssyncdialog.cpp:85: /usr/include/libkmap/abstractmarkertiler.h:167: Fehler: »TileIndex« does not name a type /usr/include/libkmap/abstractmarkertiler.h:168: Fehler: »TileIndex« does not name a type /usr/include/libkmap/abstractmarkertiler.h:196: Fehler: expected »,« or »...« before »&« token /usr/include/libkmap/abstractmarkertiler.h:197: Fehler: expected »,« or »...« before »&« token /usr/include/libkmap/abstractmarkertiler.h:198: Fehler: expected »,« or »...« before »&« token /usr/include/libkmap/abstractmarkertiler.h:201: Fehler: expected »,« or »...« before »&« token /usr/include/libkmap/abstractmarkertiler.h:205: Fehler: expected »,« or »...« before »&« token /usr/include/libkmap/abstractmarkertiler.h:210: Fehler: expected »,« or »...« before »::« token /usr/include/libkmap/abstractmarkertiler.h:212: Fehler: expected »,« or »...« before »::« token In file included from /usr/include/libkmap/itemmarkertiler.h:37, from /var/tmp/portage/media-plugins/kipi-plugins-2.0.0_beta2/work/digikam-2.0.0-beta2/extra/kipi-plugins/gpssync/gpssyncdialog.cpp:85: /usr/include/libkmap/abstractmarkertiler.h: In static member function »static int KMap::AbstractMarkerTiler::Tile::maxChildCount()«: /usr/include/libkmap/abstractmarkertiler.h:76: Fehler: »TileIndex« has not been declared /usr/include/libkmap/abstractmarkertiler.h:76: Fehler: »TileIndex« has not been declared In file included from /var/tmp/portage/media-plugins/kipi-plugins-2.0.0_beta2/work/digikam-2.0.0-beta2/extra/kipi-plugins/gpssync/gpssyncdialog.cpp:85: /usr/include/libkmap/itemmarkertiler.h: At global scope: /usr/include/libkmap/itemmarkertiler.h:63: Fehler: expected »,« or »...« before »&« token /usr/include/libkmap/itemmarkertiler.h:64: Fehler: expected »,« or »...« before »&« token /usr/include/libkmap/itemmarkertiler.h:65: Fehler: expected »,« or »...« before »&« token /usr/include/libkmap/itemmarkertiler.h:67: Fehler: expected »,« or »...« before »&« token /usr/include/libkmap/itemmarkertiler.h:71: Fehler: expected »,« or »...« before »&« token /usr/include/libkmap/itemmarkertiler.h:74: Fehler: expected »,« or »...« before »::« token /usr/include/libkmap/itemmarkertiler.h:76: Fehler: expected »,« or »...« before »::« token /usr/include/libkmap/itemmarkertiler.h:97: Fehler: expected »,« or »...« before »&« token Reproducible: Didn't try
The same problem also breaks the build of digikam-2.0.0-beta2 (i.e. the core component).
Which Qt version you use ? Gilles Caulier
qt-4.7.1
Hi Andreas, thanks for reporting this issue! The relevant error line is this one: In Datei, eingefügt von /usr/include/libkmap/itemmarkertiler.h:37, von /var/tmp/portage/media-plugins/kipi-plugins-2.0.0_beta2/work/digikam-2.0.0-beta2/extra/kipi-plugins/gpssync/gpssyncdialog.cpp:85: /usr/include/libkmap/abstractmarkertiler.h:38:28: Fehler: kmap_tileindex.h: Datei oder Verzeichnis nicht gefunden I forgot to add kmap_tileindex.h to the CMakeLists.txt, but never noticed because I never compiled each library separately. You should be able to fix it with the patch below. Michael Index: extra/libkmap/libkmap/CMakeLists.txt =================================================================== --- extra/libkmap/libkmap/CMakeLists.txt (revision 1217491) +++ extra/libkmap/libkmap/CMakeLists.txt (working copy) @@ -93,6 +93,7 @@ kmap_primitives.h kmap_modelhelper.h kmap_geocoordinates.h + kmap_tileindex.h altitude-backend.h abstractmarkertiler.h itemmarkertiler.h
SVN commit 1218487 by mghansen: Make sure kmap_tileindex.h is installed. CCBUG: 265126 M +1 -0 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1218487
Just to be clear: After applying this patch, you first have to rebuild and install libkmap, then kmap_tileindex.h should be found by the other components. Michael
Thanks a lot, the modular build works now! (Now I'd just like to know what is needed and what is optional, but that is separate bug 265197 ...)