I'm obviously missing something.  But it is too obvious for me.

cd ~/Projects
git clone -b KDE/4.13 git://anongit.kde.org/marble ./Marble/sources
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE 
-DCMAKE_INSTALL_PREFIX=/usr/local ../sources
make
sudo make install

cd ~/Projects/Subsurface
qmake
make clean
make

Still gives:

linking subsurface
.obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x60): undefined 
reference to `Marble::MarbleWidget::connectNotify(QMetaMethod const&)'
.obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x68): undefined 
reference to `Marble::MarbleWidget::disconnectNotify(QMetaMethod const&)'
collect2: error: ld returned 1 exit status
Makefile:523: recipe for target 'subsurface' failed
make: *** [subsurface] Error 1




Output from Marble make too long -- but the following is the output from Marble 
cmake (if it matters).

-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- 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
-- 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.6")
-- Could NOT find Phonon (missing:  PHONON_INCLUDE_DIR PHONON_LIBRARY)
-- Could NOT find Phonon (missing:  PHONON_INCLUDE_DIR PHONON_LIBRARY)
-- Could NOT find QextSerialPort (missing:  QEXTSERIALPORT_INCLUDE_DIR 
QEXTSERIALPORT_LIBRARIES)
-- Could NOT find quazip (missing:  QUAZIP_INCLUDE_DIR QUAZIP_LIBRARIES)
-- Could NOT find libshp (missing:  LIBSHP_INCLUDE_DIR LIBSHP_LIBRARIES)
-- Could NOT find libgps (missing:  LIBGPS_INCLUDE_DIR LIBGPS_LIBRARIES)
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'liblocation>=0.102'
--   package 'liblocation>=0.102' not found
-- checking for module 'QtLocation>=1.0.1'
--   package 'QtLocation>=1.0.1' not found
-- Could NOT find QtMobility (missing:  QTMOBILITY_INCLUDE_DIR)
-- Could NOT find QtLocation (missing:  QTLOCATION_INCLUDE_DIR 
QTLOCATION_LIBRARIES)
-- Could NOT find libwlocate (missing:  LIBWLOCATE_INCLUDE_DIR 
LIBWLOCATE_LIBRARIES)
--
-- The following features have been enabled:

 * Unit tests , Build unit tests. Toggle with BUILD_MARBLE_TESTS=YES/NO. 'make 
test' will run all.
 * Qt Designer plugins , Marble widget support in Qt Designer. Toggle with 
WITH_DESIGNER_PLUGIN=YES/NO
 * Marble Desktop/Mobile applications , Build Marble Desktop/Mobile 
applications. Toggle with BUILD_MARBLE_APPS=YES/NO.

-- The following REQUIRED packages have been found:

 * Qt4 , cross-platform application framework , <http://qt.digia.com/>
   core framework

-- The following features have been disabled:

 * Marble tools , Build various Marble tools for e.g. file format conversion. 
Toggle with BUILD_MARBLE_TOOLS=YES/NO.
 * Marble library C++ examples , Build C++ examples showing how to use the 
Marble library. Toggle with BUILD_MARBLE_EXAMPLES=YES/NO.

-- The following OPTIONAL packages have not been found:

 * Phonon , cross-platform multimedia framework that enables the use of audio and 
video content , <http://qt.digia.com/>
   Support for playback of soundcue elements
   Voice navigation (sound or human speakers)
 * QextSerialPort , access to serial ports , 
<http://code.google.com/p/qextserialport/>
   Reading from serial port in APRS plugin
 * quazip , reading and writing of ZIP archives , 
<http://quazip.sourceforge.net/>
   reading and displaying .kmz files
 * libshp , reading and writing of ESRI Shapefiles (.shp) , 
<http://shapelib.maptools.org/>
   reading and displaying .shp files
 * libgps , communicating with the GPS daemon , <http://catb.org/gpsd/>
   position information via gpsd
 * liblocation , position information on Maemo 5 devices , <http://maemo.org/>
   position information via GPS/WLAN for the Nokia N900 smartphone
 * QtMobility , a collection of APIs and frameworks , <http://qt.digia.com/>
   Required for QtLocation to work
 * QtLocation , geographical support for position and map use , 
<http://qt.digia.com/>
   position information via QtMobility QtLocation
 * libwlocate , WLAN-based geolocation , <http://www.openwlanmap.org/>
   Position information based on neighboring WLAN networks

-- Configuring done
-- Generating done
-- Build files have been written to: /home/steve/Projects/Marble/build
********************************



--
Stephen M Butler, PMP, PSM
[email protected]
[email protected]

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to