<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Hi again,<br><br>A bit of background : I am interested in building marble to integrate it in the OpenPilot Ground Control Station (GCS).<br>OpenPilot is an open source project aimed at providing hardware and software to fly and operate UAVs.<br>More information can be found here : http://www.openpilot.org/<br>Integrating marble in the GCS makes a lot of sense!<br><br>More information about the build issue:<br>I have it against branch KDE/11 (I also tried to build master but ran in other kind of issues which I sort of expected on a non stable branch).<br>I am pretty new to marble and CMake and would appreciate some help.<br><br>The full CMake build log follows:<br><div><span><br></span></div><div>-- Please include plugins in the QML_IMPORT_PATH environment variable to use Marble's Qt declarative plugins.<br>-- Note: Marble Desktop
does not make use of declarative plugins. Ignore the message above if you only intend to use the<br> Desktop version.<br>-- Could NOT find Phonon (missing: PHONON_LIBRARY)<br>-- Could NOT find QextSerialPort (missing: QEXTSERIALPORT_INCLUDE_DIR QEXTSERIALPORT_LIBRARIES)<br>-- Could NOT find quazip (missing: QUAZIP_INCLUDE_DIR QUAZIP_LIBRARIES)<br>-- Could NOT find libshp (missing: LIBSHP_INCLUDE_DIR LIBSHP_LIBRARIES)<br>-- Could NOT find libgps (missing: LIBGPS_INCLUDE_DIR LIBGPS_LIBRARIES)<br>-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)<br>-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)<br>-- Could NOT find QtMobility (missing: QTMOBILITY_INCLUDE_DIR)<br>-- Could NOT find QtLocation (missing: QTLOCATION_INCLUDE_DIR QTLOCATION_LIBRARIES)<br>-- Could NOT find libwlocate (missing: LIBWLOCATE_INCLUDE_DIR LIBWLOCATE_LIBRARIES)<br>--<br>-- The following REQUIRED
packages have been found:<br><br> * Qt4 , cross-platform application framework , <http://qt.digia.com/><br> core framework<br><br>-- The following OPTIONAL packages have not been found:<br><br> * Phonon , cross-platform multimedia framework that enables the use of audio and video content , <http://qt.digia.com/><br><br> Voice navigation (sound or human speakers)<br> * QextSerialPort , access to serial ports , <http://code.google.com/p/qextserialport/><br> Reading from serial port in APRS plugin<br> * quazip , reading and writing of ZIP archives , <http://quazip.sourceforge.net/><br> reading and displaying .kmz files<br> * libshp , reading and writing of ESRI Shapefiles (.shp) , <http://shapelib.maptools.org/><br> reading and displaying .shp files<br> * libgps , communicating with the GPS daemon ,
<http://catb.org/gpsd/><br> position information via gpsd<br> * liblocation , position information on Maemo 5 devices , <http://maemo.org/><br> position information via GPS/WLAN for the Nokia N900 smartphone<br> * QtMobility , a collection of APIs and frameworks , <http://qt.digia.com/><br> Required for QtLocation to work<br> * QtLocation , geographical support for position and map use , <http://qt.digia.com/><br> position information via QtMobility QtLocation<br> * libwlocate , WLAN-based geolocation , <http://www.openwlanmap.org/><br> Position information based on neighboring WLAN networks<br><br>-- Configuring done<br>CMake Warning (dev) at src/lib/CMakeLists.txt:279 (ADD_LIBRARY):<br> Policy CMP0003 should be set before this line. Add code such as<br><br> if(COMMAND
cmake_policy)<br> cmake_policy(SET CMP0003 NEW)<br> endif(COMMAND cmake_policy)<br><br> as early as possible but after the most recent call to<br> cmake_minimum_required or cmake_policy(VERSION). This warning appears<br> because target "marblewidget" links to some libraries for which the linker<br> must search:<br><br> ws2_32, imm32, winmm<br><br> and other libraries with known full path:<br><br> D:/Projects/OpenPilot/tools/qt-4.8.4/lib/libQtCore4.a<br><br> CMake is adding directories in the second list to the linker search path in<br> case they are needed to find libraries from the first list (for backwards<br> compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable<br> or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for<br> more information.<br>This
warning is for project developers. Use -Wno-dev to suppress it.<br><br>-- Generating done<br>-- Build files have been written to: D:/Projects/marble/build</div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">De :</span></b> philippe renon <philippe_renon@yahoo.fr><br> <b><span style="font-weight: bold;">À :</span></b> "marble-devel@kde.org" <marble-devel@kde.org> <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Dimanche 1 septembre 2013 21h50<br> <b><span style="font-weight: bold;">Objet :</span></b> Error compiling marble on Windows 7 64bits with MingW<br> </font>
</div> <div class="y_msg_container"><br><div id="yiv4867147450"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;">Hi,<br><br>I have been trying to compile marble on Windows 7 64 bits using MingW but get the following error:<br><br>[ 64%] Generating MarbleWidgetPlugin.moc<br>D:/Projects/marble/sources/src/plugins/designer/marblewidget/MarbleWidgetPlugin.h:26: Error: Undefined interface<br>mingw32-make[2]: *** [src/plugins/designer/marblewidget/MarbleWidgetPlugin.moc] Error 1<br>mingw32-make[1]: *** [src/plugins/designer/marblewidget/CMakeFiles/MarbleWidgetPlugin.dir/all] Error 2<br>mingw32-make: *** [all] Error 2<br><div><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">Apparently, same issue happens on osx but the proposed workaround (as explained in the MarbleWidgetPlugin.h) did
not work in my case.<br></div><div style="
color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">Windows is 64bits but I am trying to build 32 bits version of marble.<br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;">Here is the build script I use:</div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times,
serif;background-color:transparent;font-style:normal;">export CMAKEDIR=/D/OpenPilotDev/cmake-2.8.11.2-win32-x86<br>export QTDIR=/D/Projects/OpenPilot/tools/qt-4.8.4<br>export MINGWDIR=/D/Projects/OpenPilot/tools/mingw-4.4.0<br><br>export PATH=$CMAKEDIR/bin:$MINGWDIR/bin:$QTDIR/bin:$PATH:<br><br>#export LD_LIBRARY_PATH=$QTDIR/lib<br><br>mkdir -p ./build<br>cd ./build<br><br>cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DQTONLY=ON -DWITH_DESIGNER_PLUGIN=ON ../sources<br><br>mingw32-make -j2<br>mingw32-make install<br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br></div></div></div></div><br><br></div> </div> </div> </blockquote></div> </div></body></html>