[Marble-devel] ControlView MapThemeManager link breakage
Torsten Rahn
torsten.rahn at credativ.de
Wed Apr 16 21:36:49 CEST 2008
On Wednesday 16 April 2008 21:08:18 Jens-Michael Hoffmann wrote:
> Hi,
>
> when trying to compile and link marble I get the following linker errors:
Oh, this problem obviously only appears in the KDE-Marble build (it doesn't
happen for me right now, as I'm building the Qt Marble version.
This one looks strange:
set(marblepart_SRCS marble_part.cpp lib/MapThemeManager.cpp)
it looks as if for the Windows build the MapThemeManager isn't part of the
library. Again strange.
I've applied your patch nevertheless for your convenience. Seems like the KDE
Windows build still needs some cmake build fixes ...
Best Regards,
Torsten
> [ 0%] Built target svnversion
> [ 66%] Built target marblewidget
> [ 66%] Built target tilecreator
> Linking CXX shared module ../../lib/libmarble_part.so
> Linking CXX executable marble
> [ 94%] Built target geodatatest
> CMakeFiles/marble_part.dir/ControlView.o: In function `ControlView':
> /home/kde-devel/kdesvn/kdeedu/marble/src/ControlView.cpp:50: undefined
> reference to `MapThemeManager::MapThemeManager(QObject*)'
> /home/kde-devel/kdesvn/kdeedu/marble/src/ControlView.cpp:50: undefined
> reference to `MapThemeManager::MapThemeManager(QObject*)'
> collect2: ld gab 1 als Ende-Status zurück
> make[2]: *** [lib/libmarble_part.so] Fehler 1
> make[1]: *** [marble/src/CMakeFiles/marble_part.dir/all] Fehler 2
> make[1]: *** Warte auf noch nicht beendete Prozesse...
> CMakeFiles/marble.dir/ControlView.o: In function `ControlView':
> /home/kde-devel/kdesvn/kdeedu/marble/src/ControlView.cpp:50: undefined
> reference to `MapThemeManager::MapThemeManager(QObject*)'
> /home/kde-devel/kdesvn/kdeedu/marble/src/ControlView.cpp:50: undefined
> reference to `MapThemeManager::MapThemeManager(QObject*)'
> collect2: ld gab 1 als Ende-Status zurück
> make[2]: *** [marble/src/marble] Fehler 1
> make[1]: *** [marble/src/CMakeFiles/marble.dir/all] Fehler 2
> make: *** [all] Fehler 2
> ===
>
> I tried to play around with the cmake file, but I'm not sure if this is the
> right way to go.
>
> Attached is my patch so far. Please comment.
>
> btw, the following part of the patch fixes a typo:
> - ${CMAKE_CURRENT_SOURCE_DIR}/lib/geoscene/data
> + ${CMAKE_CURRENT_SOURCE_DIR}/lib/geodata/handlers/dgml
>
>
> Best regards
>
> Jens-Michael
--
Torsten Rahn
Tel.: 0 21 61 - 46 43 - 192
credativ GmbH, HRB Mönchengladbach 12080
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz
More information about the Marble-devel
mailing list