[Marble-devel] ControlView MapThemeManager link breakage
Jens-Michael Hoffmann
jensmh at gmx.de
Wed Apr 16 21:08:18 CEST 2008
Hi,
when trying to compile and link marble I get the following linker errors:
[ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: marble-try-to-fix-link-breakage.patch
Type: text/x-diff
Size: 1735 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/marble-devel/attachments/20080416/c872f59c/attachment-0001.bin
More information about the Marble-devel
mailing list