<html><body><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></body></html>