Talk:Projects/Marble/WindowsCompiling

Jump to: navigation, search

Contents

Thread titleRepliesLast modified
Issue compiling on Windows + MingW022:10, 31 August 2013
New procedure to Build Marble on windows010:40, 1 February 2013
Outdated and just doesn't work110:33, 1 February 2013

Issue compiling on Windows + MingW

Hi,

I tried to compile on Windows+MingW but got 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
[ 60%] Built target marblewidget
[ 61%] Built target marble-qt
[ 63%] Built target tilecreator
[ 64%] Built target routing-instructions
[ 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

I also tried the OSX workaround documented in the MarbleWidgetPlugin.h file without success.

I am using Qt 4.8.4.

Philippe (talk)22:09, 31 August 2013

New procedure to Build Marble on windows

I added a new procedure to build on Windows using Visual Studio 2008. I used VS2008 Professionnal on a x64 environment. There is no complication in buildind 32 or 64bits versions, apart from obtaining a 64bit version of Qt. It should be possible to use other versions of Visual Studio, including Express editions as no special Windows libraries are necessary, only Qt compiled for the matching environement

Please try it and comment.

Hugofv (talk)10:40, 1 February 2013

Outdated and just doesn't work

Some one needs to review the instructions.

I am trying to follow the instructions at ...http://techbase.kde.org/Projects/Marble/MarbleWindows to create a functioning QT Creator pro file to embed KDE Marble into my application.

I have.... Qt Creator 2.6.0 (Based on Qt 4.8.3) installed at C:\Programs\Qt CMake 2.8.10.1 (Using Qt 4.6.2) installe at C:\Programs\CMake MinGW installed at C:|Programs\MinGW Marble 1.1.1 installed at C:\Programs\marble Marble Source from Git://anongit.kde.org/marble located at C:\kdemarble

C:\>path PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Mi crosoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS \Binn\;C:\Programs\Git\cmd;C:\Programs\MinGW; C:\Programs\MinGW\bin; C:\Programs \MinGW\msys\1.0\bin; C:\Programs\Qt; C:\Programs\Qt\lib; C:\Programs\Qt\bin; C:\ Programs\CMake\bin

Now when I attempt to follow your instruction at ...http://techbase.kde.org/Projects/Marble/WindowsCompiling I find that there is no folder anywhere remotely compared to "\Qt\20xx.xx.x\MinGW\bin and C:\Qt\20xx.xx.x\qt\bin" so there is no way to add them to my "path".

So, when I attempt to "compile" the code I get an error..

C:\Programs\kdemarble>mkdir build

C:\Programs\kdemarble>cd build

C:\Programs\kdemarble\build>cmake -G "MinGW Makefiles" -DQTONLY=ON -DCMAKE_BUILD _TYPE=Release 'cmake' is not recognized as an internal or external command, operable program or batch file.

So I am unable to compile the source code. If I install Marble using the Windows installer I do not get these folders...C:/Program Files/marble/include/marble C:/Program Files/marble/libmarblewidget.dll which apparently are needed to create a functioning Creator pro file.

Any suggestions on what I have done wrong?

Thanks, Bill

Whtemple1959 (talk)20:36, 15 November 2012

That error you have indicates the system can't find cmake. You installed it, but did not add it to your PATH environment variable. CMAKE setup offers to do it durin installation, but you can do it manually.

Hugofv (talk)10:33, 1 February 2013
 

This page was last modified on 15 November 2012, at 20:36. This page has been accessed 1,564 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal