[Marble-devel] Error compiling marble on Windows 7 64bits with MingW

philippe renon philippe_renon at yahoo.fr
Sun Sep 1 19:50:58 UTC 2013


Hi,

I have been trying to compile marble on Windows 7 64 bits using MingW but get the following error:

[ 64%] Generating MarbleWidgetPlugin.moc
D:/Projects/marble/sources/src/plugins/designer/marblewidget/MarbleWidgetPlugin.h:26: Error: Undefined interface
mingw32-make[2]: *** [src/plugins/designer/marblewidget/MarbleWidgetPlugin.moc] Error 1
mingw32-make[1]: *** [src/plugins/designer/marblewidget/CMakeFiles/MarbleWidgetPlugin.dir/all] Error 2
mingw32-make: *** [all] Error 2


Apparently, same issue happens on osx but the proposed workaround (as explained in the MarbleWidgetPlugin.h) did not work in my case.


Windows is 64bits but I am trying to build 32 bits version of marble.


Here is the build script I use:

export CMAKEDIR=/D/OpenPilotDev/cmake-2.8.11.2-win32-x86
export QTDIR=/D/Projects/OpenPilot/tools/qt-4.8.4
export MINGWDIR=/D/Projects/OpenPilot/tools/mingw-4.4.0

export PATH=$CMAKEDIR/bin:$MINGWDIR/bin:$QTDIR/bin:$PATH:

#export LD_LIBRARY_PATH=$QTDIR/lib

mkdir -p ./build
cd ./build

cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DQTONLY=ON -DWITH_DESIGNER_PLUGIN=ON ../sources

mingw32-make -j2
mingw32-make install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20130901/2d9b2e54/attachment.html>


More information about the Marble-devel mailing list