Reply to topic

Missing MarbleControlBox.h

lefoo
Registered Member
Posts
1
Karma
0

Missing MarbleControlBox.h

Fri Jul 08, 2016 9:49 am
Hello everybody. I'm building marble from:
Code: Select all
git clone -b Applications/16.04 git://anongit.kde.org/marble ~/marble/sources

Everything seems fine to me, cmake result is:
Code: Select all
/home/lm/soft/cmake/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/lm/marble/result/ ..
-- Please include /home/lm/marble/result/lib/marble/plugins in the QML_IMPORT_PATH environment variable to use Marble's Qt declarative plugins.
-- Note: Marble Desktop does not make use of declarative plugins. Ignore the message above if you only intend to use the Desktop version.
CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/lib/marble/CMakeLists.txt:357 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/lib/marble/CMakeLists.txt:357 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  MarbleMacros.cmake:63 (qt_add_resources)
  src/plugins/designer/marblewidget/CMakeLists.txt:13 (marble_add_designer_plugin)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  MarbleMacros.cmake:63 (qt_add_resources)
  src/plugins/designer/latloneditwidget/CMakeLists.txt:15 (marble_add_designer_plugin)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  MarbleMacros.cmake:63 (qt_add_resources)
  src/plugins/designer/navigator/CMakeLists.txt:13 (marble_add_designer_plugin)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/compass/CMakeLists.txt:12 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/navigation/CMakeLists.txt:12 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/routing/CMakeLists.txt:22 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/crosshairs/CMakeLists.txt:12 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/eclipses/CMakeLists.txt:21 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/elevationprofilemarker/CMakeLists.txt:13 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/measure/CMakeLists.txt:13 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/earthquake/CMakeLists.txt:19 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/opencachingcom/CMakeLists.txt:19 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/satellites/CMakeLists.txt:27 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/render/weather/CMakeLists.txt:29 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find QextSerialPort (missing:  QEXTSERIALPORT_LIBRARIES)
-- Checking for module 'liblocation>=0.102'
--   
CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/plugins/runner/monav/CMakeLists.txt:20 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/apps/marble-ui/CMakeLists.txt:8 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  src/apps/marble-touch/CMakeLists.txt:21 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  src/apps/behaim/CMakeLists.txt:2 (qt5_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  src/apps/marble-maps/CMakeLists.txt:2 (qt5_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
  configure_file called with unknown argument(s):

   COPY_ONLY

Call Stack (most recent call first):
  MarbleMacros.cmake:23 (qt5_add_resources)
  tests/CMakeLists.txt:113 (qt_add_resources)
This warning is for project developers.  Use -Wno-dev to suppress it.

--
-- 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 OPTIONAL packages have been found:

 * Qt5Gui (required version >= 5.1.1)
 * Qt5WebKit
 * Qt5Qml (required version >= 5.2.1)
 * Qt5Sensors (required version >= 5.1.1)
 * Qt5WebKitWidgets
 * Qt5Designer
 * 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)
 * Perl , <http://www.perl.org>
   generation of sources in the APRS plugin
 * libgps , communicating with the GPS daemon , <http://catb.org/gpsd/>
   position information via gpsd
 * Qt5Location , geographical support for position and map use , <http://qt.digia.com/>
   position information via Qt5Positioning and QtLocation
 * Qt5Positioning , a collection of APIs and frameworks , <http://qt.digia.com/>
   Required for QtLocation to work
 * libwlocate , WLAN-based geolocation , <http://www.openwlanmap.org/>
   Position information based on neighboring WLAN networks
 * libshp , reading and writing of ESRI Shapefiles (.shp) , <http://shapelib.maptools.org/>
   reading and displaying .shp files

-- The following REQUIRED packages have been found:

 * Qt5DBus
 * Qt5Core
 * Qt5Xml
 * Qt5Network
 * Qt5Test
 * Qt5Script
 * Qt5Widgets
 * Qt5Svg
 * Qt5Sql
 * Qt5Concurrent
 * Qt5Quick
 * Qt5OpenGL
 * Qt5PrintSupport

-- 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:

 * QextSerialPort , access to serial ports , <http://code.google.com/p/qextserialport/>
   Reading from serial port in APRS plugin
 * liblocation , position information on Maemo 5 devices , <http://maemo.org/>
   position information via GPS/WLAN for the Nokia N900 smartphone

-- Configuring done
-- Generating done
-- Build files have been written to: /home/lm/marble/sources/build


So, i make install marble, but there is a missing file MarbleControlBox.h, wich I desperately need for my project. Any ideas of how can I rebuild marble to get it right?
Thanks.
frinring
Registered Member
Posts
9
Karma
0

Re: Missing MarbleControlBox.h

Fri Jul 08, 2016 11:04 pm
What is missing is that the API dox still talks about the classes MarbleControlBox & MarbleNavigator, despite those classes having been removed starting with Applications/16.04.

See the implementation in this web report about the removing commit https://phabricator.kde.org/rMARBLE5f98 ... 512e4dccb4
You might be able to simply copy the code of MarbleControlBox into your project instead, if the license matches.
Otherwise please let yourself be inspired by what the code does, it should be pretty straight forward to create your own control box.

There is a small risk that the code uses non-public API. If so, please report back.

I filed a bug about the broken API dox, if you are interested: https://bugs.kde.org/show_bug.cgi?id=365261

 
Reply to topic

Bookmarks



Who is online

Registered users: airdrik, Baidu [Spider], Bing [Bot], farid, Google [Bot], jacobseated, leite, Majestic-12 [Bot], mihaela-prkos, Sogou [Bot]