This page present for only how to build Marble on windows. There will be an other howto about using libmarblewidget in a application build for windows.

+

This page present only how to build Marble on windows. There will be an other howto about using libmarblewidget in a application build for windows.

−

#Marble project uses CMake to manage the building process depending of your needs&nbsp;: operating system, building options.. So, first of all, you need to download the latest [http://www.cmake.org/cmake/resources/software.html CMake binary for windows]. Install it and don't forget during the installation to check "define cmake path in environment variables" or something like that.

+

#Marble project uses CMake to manage the building process depending of your needs&nbsp;: operating system, build options.. So, first of all, you need to download the latest [http://www.cmake.org/cmake/resources/software.html CMake binary for windows]. Install it and don't forget during the installation to check "define cmake path in environment variables" or something like that.

#Marble is a Qt dependent application ("No way!?" "Way!!"&nbsp;:) ) so you also need Qt. Download the latest [http://qt.nokia.com/downloads Qt sdk] for windows and install it.<br>

#Marble is a Qt dependent application ("No way!?" "Way!!"&nbsp;:) ) so you also need Qt. Download the latest [http://qt.nokia.com/downloads Qt sdk] for windows and install it.<br>

−

#You have to add mingw's path and qmake's path in the environment variable. (For example follow those [http://www.computerhope.com/issues/ch000549.htm instructions]. To check that cmake.exe and gcc.exe and qmake.exe are in your&nbsp;%PATH%&nbsp;:

+

#You have to add mingw's path and qmake's path in the environment variable. (use C:\Qt\20xx.xx.x\MinGW\bin and C:\Qt\20xx.xx.x\qt\bin )(follow those [http://www.computerhope.com/issues/ch000549.htm instructions] if needed). To check that cmake.exe, gcc.exe and qmake.exe are in your&nbsp;%PATH%&nbsp;:

##open a commandline-window (start-&gt;run program-&gt;cmd)

##open a commandline-window (start-&gt;run program-&gt;cmd)

−

##run "cmake" - it should give you a help message and show you what compilation options it found

+

##run "cmake" , it should give you a help message and show you what compilation options it found

−

##run "gcc -v" it should give you version info

+

##run "gcc -v" , it should give you version info

−

##run "qmake" it should give you help output

+

##run "qmake" , it should give you help output

##(Hint: make sure not to add the directory&nbsp;%QT-installation-dir%/bin but rather&nbsp;%QT-installation-dir%/qt/bin, there are for some reason incompatible dll's that might lead to crashes)

##(Hint: make sure not to add the directory&nbsp;%QT-installation-dir%/bin but rather&nbsp;%QT-installation-dir%/qt/bin, there are for some reason incompatible dll's that might lead to crashes)

Revision as of 10:33, 27 May 2010

This page present only how to build Marble on windows. There will be an other howto about using libmarblewidget in a application build for windows.

Marble project uses CMake to manage the building process depending of your needs : operating system, build options.. So, first of all, you need to download the latest CMake binary for windows. Install it and don't forget during the installation to check "define cmake path in environment variables" or something like that.

Marble is a Qt dependent application ("No way!?" "Way!!" :) ) so you also need Qt. Download the latest Qt sdk for windows and install it.

You have to add mingw's path and qmake's path in the environment variable. (use C:\Qt\20xx.xx.x\MinGW\bin and C:\Qt\20xx.xx.x\qt\bin )(follow those instructions if needed). To check that cmake.exe, gcc.exe and qmake.exe are in your %PATH% :

open a commandline-window (start->run program->cmd)

run "cmake" , it should give you a help message and show you what compilation options it found

run "gcc -v" , it should give you version info

run "qmake" , it should give you help output

(Hint: make sure not to add the directory %QT-installation-dir%/bin but rather %QT-installation-dir%/qt/bin, there are for some reason incompatible dll's that might lead to crashes)