[2015-09-23 14:58:43 -1000] Gaetan Bisson: > linking fails with: > > [100%] Linking CXX executable subsurface > libsubsurface_interface.a(subsurface_interface_automoc.cpp.o): In > function `GlobeGPS::qt_metacall(QMetaObject::Call, int, void**)': > /build/subsurface-git/src/subsurface/moc_globe.cpp:161: undefined > reference to `Marble::MarbleWidget::qt_metacall(QMetaObject::Call, int, > void**)' > libsubsurface_interface.a(subsurface_interface_automoc.cpp.o): In > function `GlobeGPS::qt_metacast(char const*)': > /build/subsurface-git/src/subsurface/moc_globe.cpp:156: undefined > reference to `Marble::MarbleWidget::qt_metacast(char const*)' > libsubsurface_interface.a(subsurface_interface_automoc.cpp.o): In > function `GlobeGPS::~GlobeGPS()': > /build/subsurface-git/src/subsurface/qt-ui/globe.h:20: undefined > reference to `Marble::MarbleWidget::~MarbleWidget()' > libsubsurface_interface.a(subsurface_interface_automoc.cpp.o): In > function `GlobeGPS::~GlobeGPS()': > /build/subsurface-git/src/subsurface/qt-ui/globe.h:20: undefined > reference to `Marble::MarbleWidget::~MarbleWidget()' > > libsubsurface_interface.a(subsurface_interface_automoc.cpp.o):(.data.rel.ro._ZTI8GlobeGPS[_ZTI8GlobeGPS]+0x10): > undefined reference to `typeinfo for Marble::MarbleWidget' > ...
Ah, that second issue goes away (and subsurface builds fine) when I add the cmake option -DMARBLE_LIBRARIES=/usr/lib/libssrfmarblewidget.so . Cheers. -- Gaetan _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
