<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://stellarium.org/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://stellarium.org/wiki/api.php?action=feedcontributions&amp;user=Barrykgerdes&amp;feedformat=atom</id>
		<title>Stellarium Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://stellarium.org/wiki/api.php?action=feedcontributions&amp;user=Barrykgerdes&amp;feedformat=atom"/>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Special:Contributions/Barrykgerdes"/>
		<updated>2013-05-22T14:54:22Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2013-03-23T22:52:58Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Making the installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.4/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.4 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.4 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.4) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.4 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt-project.org/downloads#qt-lib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.6.2-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.4 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.4\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.4 installation will emit a warning that only MinGW w32api.h version 3.13 is supported. Our new version is 3.17 (newer), and you can safely ignore the warning and continue. &lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.10.2-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
As of build #5572 you will need the updated version of Glext.h from the OpenGL site&lt;br /&gt;
http://www.opengl.org/registry/api/glext.h and install it in Mingw\include\gl inlieu of the existing version. Note: This may not be necessary with later builds&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.4;c:\Qt\4.8.4\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; and \program files\gnuwin32&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.4;C:\Qt\4.8.4\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.4\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.5.3.exe, run it to install. version 5.5.3 required after build 5924&lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Nebula_images</id>
		<title>Nebula images</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Nebula_images"/>
				<updated>2013-03-15T02:20:26Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please note that version 0.10.0 of Stellarium uses a new data format for positioning texture files.  If you have a set of images which you would like to share, please post a message in the forums for advice on how to do this.&lt;br /&gt;
&lt;br /&gt;
==User Contributed Nebula Images 0.9.x , 0.10.x==&lt;br /&gt;
&lt;br /&gt;
* There are [http://sarcasmogerdes.dyndns.org/stellarium/uploads/stellariumnebulae-1.zip modified and additional textures for version 0.10.6.1], by Barry Gerdes. These textures have been accurately sized and positioned on the display and will need the enclosed textures.json file to replace the original distribution file. The four principal texture are constructed as mosaics from wide angle photos of the Large Magellan Cloud, Small Magellan Cloud, Eta Carinae and Rho Ophiuchus area.  See also the  iceinspace.com.au astronomy site for other information. We welcome new members to the forum. Updated 18/12/10. Please note that these images were prepared on Windows XP which is not critical of case. If the images do not display confirm that the description in the textures.json file and the corresponding texture name are the same.&lt;br /&gt;
&lt;br /&gt;
* You can [http://www.sonnen-system.de/ download the package in one file] with many pictures (similar pictures as above), but in one package and '''high-speed download'''. Suitable for version 0.9.1! only&lt;br /&gt;
&lt;br /&gt;
* With the release of version 0.12.1 there will be an enlarged collection of nebula images. These will include all the originals and many of the nebulae from my previous package. I have now prepared a new package containing some higher resolution images and some additional ones that are not in the main release version. You can  [http://barry.sarcasmogerdes.com/stellarium/uploads/extra-nebula.zip down load the package here]. These images can be used in versions from 0.10.3 but will need the new distibution package of nebulae. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* People from Faulkes telescope started a very nice effort to provide [http://www.faulkes-telescope.com/index.php?page=186 Stellarium's nebulae images] for many objects of the sky. Schools, Colleges and Amateur Astronomical Societies in the UK can sign up and use the two Faulkes Telescopes (in Hawaii and Australia) for no charge, and then add their own images to Stellarium.&lt;br /&gt;
&lt;br /&gt;
* Barry Gerdes made some very nice [http://porpoisehead.net/mysw/downloads/magellanic_clouds.zip textures for the large and small magellanic clouds] which work with the development version (and should work with 0.10.0 when it is released). To install, unzip this file in your [[User Data Directory]] (it should create a sub-directory called nebulae in there, and with that a textures directory containing a few files). These files are now part of the nebulae package mentioned in paragraph 1.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nebulae]][[Category:Customization]]&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Nebula_images</id>
		<title>Nebula images</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Nebula_images"/>
				<updated>2013-03-15T02:18:45Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please note that version 0.10.0 of Stellarium uses a new data format for positioning texture files.  If you have a set of images which you would like to share, please post a message in the forums for advice on how to do this.&lt;br /&gt;
&lt;br /&gt;
==User Contributed Nebula Images 0.9.x , 0.10.x==&lt;br /&gt;
&lt;br /&gt;
* There are [http://sarcasmogerdes.dyndns.org/stellarium/uploads/stellariumnebulae-1.zip modified and additional textures for version 0.10.6.1], by Barry Gerdes. These textures have been accurately sized and positioned on the display and will need the enclosed textures.json file to replace the original distribution file. The four principal texture are constructed as mosaics from wide angle photos of the Large Magellan Cloud, Small Magellan Cloud, Eta Carinae and Rho Ophiuchus area.  See also the  iceinspace.com.au astronomy site for other information. We welcome new members to the forum. Updated 18/12/10. Please note that these images were prepared on Windows XP which is not critical of case. If the images do not display confirm that the description in the textures.json file and the corresponding texture name are the same.&lt;br /&gt;
&lt;br /&gt;
* You can [http://www.sonnen-system.de/ download the package in one file] with many pictures (similar pictures as above), but in one package and '''high-speed download'''. Suitable for version 0.9.1! only&lt;br /&gt;
&lt;br /&gt;
* With the release of version 0.12.1 there will be an enlarged collection of nebula images. These will include all the originals and many of the nebulae from my previous package. I have now prepared a new package containing some higher resolution images and some additional ones that are not in the main release version. You can  [http://barry.sarcasmogerdes.com/stellarium/uploads/extra-nebula.zip down load the package]. These images can be used in versions from 0.10.3 but will need the new distibution package of nebulae.  &lt;br /&gt;
&lt;br /&gt;
* People from Faulkes telescope started a very nice effort to provide [http://www.faulkes-telescope.com/index.php?page=186 Stellarium's nebulae images] for many objects of the sky. Schools, Colleges and Amateur Astronomical Societies in the UK can sign up and use the two Faulkes Telescopes (in Hawaii and Australia) for no charge, and then add their own images to Stellarium.&lt;br /&gt;
&lt;br /&gt;
* Barry Gerdes made some very nice [http://porpoisehead.net/mysw/downloads/magellanic_clouds.zip textures for the large and small magellanic clouds] which work with the development version (and should work with 0.10.0 when it is released). To install, unzip this file in your [[User Data Directory]] (it should create a sub-directory called nebulae in there, and with that a textures directory containing a few files). These files are now part of the nebulae package mentioned in paragraph 1.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nebulae]][[Category:Customization]]&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2013-01-23T00:38:54Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with MinGW32 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.4/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.4 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.4 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.4) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.4 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt-project.org/downloads#qt-lib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.6.2-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.4 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.4\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.4 installation will emit a warning that only MinGW w32api.h version 3.13 is supported. Our new version is 3.17 (newer), and you can safely ignore the warning and continue. &lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.10.2-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
As of build #5572 you will need the updated version of Glext.h from the OpenGL site&lt;br /&gt;
http://www.opengl.org/registry/api/glext.h and install it in Mingw\include\gl inlieu of the existing version. Note: This may not be necessary with later builds&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.4;c:\Qt\4.8.4\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; and \program files\gnuwin32&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.4;C:\Qt\4.8.4\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.4\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2013-01-23T00:38:10Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.4/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.4 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.4) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.4 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt-project.org/downloads#qt-lib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.6.2-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.4 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.4\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.4 installation will emit a warning that only MinGW w32api.h version 3.13 is supported. Our new version is 3.17 (newer), and you can safely ignore the warning and continue. &lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.10.2-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
As of build #5572 you will need the updated version of Glext.h from the OpenGL site&lt;br /&gt;
http://www.opengl.org/registry/api/glext.h and install it in Mingw\include\gl inlieu of the existing version. Note: This may not be necessary with later builds&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.4;c:\Qt\4.8.4\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; and \program files\gnuwin32&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.4;C:\Qt\4.8.4\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.4\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Build_Dependencies</id>
		<title>Build Dependencies</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Build_Dependencies"/>
				<updated>2012-09-06T05:18:37Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Qt 4.6 will be required to build the SVN versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Stellarium needs a few things to be installed on your system before you can build it. &lt;br /&gt;
&lt;br /&gt;
{| cellpadding=2 border=1 width=80%&lt;br /&gt;
| '''Dependency''' || '''Ubuntu package name''' || '''Notes'''  &lt;br /&gt;
|-&lt;br /&gt;
||[http://www.cmake.org/ CMake] || cmake || Required &amp;gt;= Stellarium 0.9.0.  Get version 2.6 or higher. from stellarium 0.10.3 version 2.8 is required&lt;br /&gt;
|-&lt;br /&gt;
||GNU C Compiler || gcc || Or compatible alternative.&lt;br /&gt;
|-&lt;br /&gt;
||GNU C++ Compiler || g++ || Or compatible alternative.&lt;br /&gt;
|-&lt;br /&gt;
||gettext || gettext || &lt;br /&gt;
|-&lt;br /&gt;
||Open GL || libgl1-mesa-dev || &lt;br /&gt;
|-&lt;br /&gt;
||GLU || libglu1-mesa-dev || (Not needed from version 0.10.3)&lt;br /&gt;
|-&lt;br /&gt;
||[http://www.zlib.net Zlib] || zlib1g-dev ||&lt;br /&gt;
|-&lt;br /&gt;
||[http://www.libpng.org PNG] || libpng12-dev || (Not needed from version 0.10.3)&lt;br /&gt;
|-&lt;br /&gt;
||[http://www.freetype.org/ Freetype] || libfreetype6-dev || Apparently at least later than 2.1.0.&lt;br /&gt;
(Not needed after about revision 4849)&lt;br /&gt;
|-&lt;br /&gt;
||Boost C++ Libraries || libboost-dev || &lt;br /&gt;
(Not needed after about revision 4635) Required for 0.10.2.&lt;br /&gt;
|-&lt;br /&gt;
||JPEG libraries || libjpeg62-dev || (Not needed from version 0.10.3)&lt;br /&gt;
|-&lt;br /&gt;
||QT library &amp;gt;= 4.6.0 || libqt4-dev* || See notes below.&lt;br /&gt;
|-&lt;br /&gt;
||Phonon for QT4 || libqt4-phonon-dev || ''Optional''.  Needed to build audio support.  Note: you must not have libphonon-dev installed, just the qt4 one.&lt;br /&gt;
|-&lt;br /&gt;
||Doxygen || doxygen || ''Optional''. If you want to build the API documentation you will need this.&lt;br /&gt;
|-&lt;br /&gt;
||Graphviz || graphviz || ''Optional''. If you want to build the API document and include fancy class diagrams, you will need this.&lt;br /&gt;
|-&lt;br /&gt;
||Bazaar || bzr || ''Optional''. Only necessary if you want to build the latest development version (not the &amp;quot;release&amp;quot; versions).&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Linux users''': If your distribution separates libraries into normal and development version, ''make sure you get the development ones'' (e.g. in Debian/Ubuntu, the '''-dev''' packages).&lt;br /&gt;
Ubuntu Intrepid users can install all these dependencies in one go by running this command in a terminal:&lt;br /&gt;
 sudo apt-get install build-essential libfreetype6-dev cmake libpng12-dev zlib1g-dev \&lt;br /&gt;
      libglu1-mesa-dev libgl1-mesa-dev gcc g++ gettext libboost-dev libboost-thread-dev \&lt;br /&gt;
      libjpeg-dev libboost-filesystem-dev bzr libqt4-dev graphviz \&lt;br /&gt;
      doxygen qt4-designer libqt4-phonon-dev &lt;br /&gt;
&lt;br /&gt;
For 0.10.6 you only need these&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install build-essential libfreetype6-dev cmake libpng12-dev zlib1g-dev \&lt;br /&gt;
      libglu1-mesa-dev libgl1-mesa-dev gcc g++ gettext \&lt;br /&gt;
      libjpeg-dev bzr libqt4-dev graphviz doxygen qt4-designer libqt4-phonon-dev &lt;br /&gt;
&lt;br /&gt;
If you have Ubuntu 12.04 it does not appear to respond to build-essential or libqt4-phonon-dev try if the install stalls when it can't find build-essential&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install libfreetype6-dev cmake libpng12-dev zlib1g-dev \&lt;br /&gt;
      libglu1-mesa-dev libgl1-mesa-dev gcc g++ gettext \&lt;br /&gt;
      libjpeg-dev bzr libqt4-dev graphviz doxygen qt4-designer &lt;br /&gt;
&lt;br /&gt;
For Mandriva users, the command line is:&lt;br /&gt;
 urpmi libmesagl1-devel libmesaglu1-devel libSDL1.2-devel libSDL_sound1.0-devel zlib1-devel \&lt;br /&gt;
      libpng-devel libfreetype6-devel libboost1-devel libjpeg62-devel libqt4-devel doxygen \&lt;br /&gt;
      graphviz libSDL_mixer1.2-devel cmake gcc-c++ make gettext&lt;br /&gt;
&lt;br /&gt;
For Fedora 10, the command line is:&lt;br /&gt;
 yum install gcc gcc-c++ libstdc++ cmake cmake-gui gettext gettext-devel mesa-libGL-devel \&lt;br /&gt;
      mesa-libGLU-devel zlib-devel libpng-devel freetype-devel boost-devel libjpeg-devel \&lt;br /&gt;
      qt-devel doxygen graphviz subversion make&lt;br /&gt;
&lt;br /&gt;
For OpenSuSE 11.2:&lt;br /&gt;
 sudo zypper install gcc gcc-c++ make zlib-devel libjpeg-devel libSDL-devel libSDL_mixer-devel \&lt;br /&gt;
      libpng-devel cmake libqt4-devel boost-devel subversion freetype2-devel&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Latest QT Libraries for Linux distros which don't have them in the repos==&lt;br /&gt;
Stellarium tracks the recent QT releases fairly closely and as such many Linux distribution repositories do not contain an up-to-date enough version for building Stellarium.  In the case of Ubuntu, the ''backports'' repository is often good enough, but there may be a need to install it &amp;quot;outside&amp;quot; your package manager.   Here's how.&lt;br /&gt;
&lt;br /&gt;
Since QT 4.5, this has been made a little easier for i386 users as Nokia now provide a binary installer.  If you want to build it yourself from source, this is fine but it will take a ''long'' time.  I recommend the following procedure for manually installing the latest QT:&lt;br /&gt;
#Download the Linux/X11 SDK package from [http://www.qtsoftware.com/downloads here].  Choose 32/64 bit as appropriate.&lt;br /&gt;
#Install it to /opt/qt45&lt;br /&gt;
#When you want to build Stellarium, execute these commands to set up the environment so that the new QT is used:&lt;br /&gt;
 export QTDIR=&amp;quot;/opt/qt45/qt&amp;quot;&lt;br /&gt;
 export PATH=&amp;quot;/opt/qt45/bin:/opt/qt45/qt/bin:${PATH##/opt/qt45/bin:/opt/qt45/qt/bin:}&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/qt45/lib:/opt/qt45/qt/lib:${LD_LIBRARY_PATH##/opt/qt45/lib:/opt/qt45/qt/lib:}&amp;quot;&lt;br /&gt;
#After installation, you should write a script which sets LD_LIBRARY_PATH and then calls Stellarium.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The exact paths might need slight tweaks if you install the &amp;quot;just libraries package&amp;quot; (please can someone check this?).&lt;br /&gt;
&lt;br /&gt;
Once these esentials are installed the compile should progress with no more problems.&lt;br /&gt;
&lt;br /&gt;
==Qt 4.8 will be required to build the Bazaar versions==&lt;br /&gt;
&lt;br /&gt;
After build 5572 Qt 4.8 will be needed. following the same procedure as above should get the Linux/X11 SDK package installed. However I ran into all sorts of problems not finding various dependancies and found the old method of compiling Qt 4.8 from source gave the easiest results. However if you compile it yourself be prepared for a long job, 5 hours plus! Then &amp;quot;sudo make install&amp;quot; will get it where it is needed.&lt;br /&gt;
&lt;br /&gt;
Also Cmake 2.8 will be required for compiling the latest source, Downlaod it and install it in the usr area.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-09-06T03:05:45Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Configuring the MSYS environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version 3.13 is supported. Our new version is 3.17 (newer), and you can safely ignore the warning and continue. &lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
As of build #5572 you will need the updated version of Glext.h from the OpenGL site&lt;br /&gt;
http://www.opengl.org/registry/api/glext.h and install it in Mingw\include\gl inlieu of the existing version. Note: This may not be necessary with later builds&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; and \program files\gnuwin32&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-09-06T03:05:07Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with MinGW32 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version 3.13 is supported. Our new version is 3.17 (newer), and you can safely ignore the warning and continue. &lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
As of build #5572 you will need the updated version of Glext.h from the OpenGL site&lt;br /&gt;
http://www.opengl.org/registry/api/glext.h and install it in Mingw\include\gl inlieu of the existing version. Note: This may not be necessary with later builds&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; and \program files\gnuwin32&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include;c:\mingw\include\Gl&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-09-06T03:03:38Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 4: MinGW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion Note: This method is no longer applicable since the code is stored in Bazzar. See STEP 7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
As of build #5572 you will need the updated version of Glext.h from the OpenGL site&lt;br /&gt;
http://www.opengl.org/registry/api/glext.h and install it in Mingw\include\gl in lieu of the existing version. Note: This may not be necessary with later updates.&lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version&lt;br /&gt;
3.13 is supported. Our new version is 3.17 (newer), and you can safely&lt;br /&gt;
ignore the warning and continue.&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
Note: Make sure there is no path to any previous locations of the older versions of gettext, libintl, libiconv-2. Typically in \Program Files\GnuWin32 or \DevCpp from earlier dependencies. &lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
The Dll's should be found OK if the path is set correctly but it is often better to go to the Qt\4.8.2 and \Mingw folders and copy them from the following sources.&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-09-06T03:02:50Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 2: Qt SDK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion Note: This method is no longer applicable since the code is stored in Bazzar. See STEP 7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
As of build #5572 you will need the updated version of Glext.h from the OpenGL site&lt;br /&gt;
http://www.opengl.org/registry/api/glext.h and install it in Mingw\include\gl in lieu of the existing version. Note: This may not be necessary with later updates.&lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version&lt;br /&gt;
3.13 is supported. Our new version is 3.17 (newer), and you can safely&lt;br /&gt;
ignore the warning and continue.&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include;C:\mingw\include\Gl&lt;br /&gt;
&lt;br /&gt;
Note: Make sure there is no path to any previous locations of the older versions of gettext, libintl, libiconv-2. Typically in \Program Files\GnuWin32 or \DevCpp from earlier dependencies. &lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
The Dll's should be found OK if the path is set correctly but it is often better to go to the Qt\4.8.2 and \Mingw folders and copy them from the following sources.&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-09-01T07:47:37Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 2: Qt SDK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion Note: This method is no longer applicable since the code is stored in Bazzar. See STEP 7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
As of build #5572 you will need the updated version of Glext.h from the OpenGL site&lt;br /&gt;
http://www.opengl.org/registry/api/glext.h and install it in Mingw\include\gl in lieu of the existing version.&lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version&lt;br /&gt;
3.13 is supported. Our new version is 3.17 (newer), and you can safely&lt;br /&gt;
ignore the warning and continue.&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include;C:\mingw\include\Gl&lt;br /&gt;
&lt;br /&gt;
Note: Make sure there is no path to any previous locations of the older versions of gettext, libintl, libiconv-2. Typically in \Program Files\GnuWin32 or \DevCpp from earlier dependencies. &lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
The Dll's should be found OK if the path is set correctly but it is often better to go to the Qt\4.8.2 and \Mingw folders and copy them from the following sources.&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-09-01T07:43:38Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with MinGW32 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version 3.13 is supported. Our new version is 3.17 (newer), and you can safely ignore the warning and continue. &lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
As of build #5572 you will need the updated version of Glext.h from the OpenGL site&lt;br /&gt;
http://www.opengl.org/registry/api/glext.h and install it in Mingw\include\gl inlieu of the existing version.&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; and \program files\gnuwin32&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include;c:\mingw\include\Gl&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-09-01T00:48:01Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 4: MinGW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion Note: This method is no longer applicable since the code is stored in Bazzar. See STEP 7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version&lt;br /&gt;
3.13 is supported. Our new version is 3.17 (newer), and you can safely&lt;br /&gt;
ignore the warning and continue.&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include;C:\mingw\include\Gl&lt;br /&gt;
&lt;br /&gt;
Note: Make sure there is no path to any previous locations of the older versions of gettext, libintl, libiconv-2. Typically in \Program Files\GnuWin32 or \DevCpp from earlier dependencies. &lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
The Dll's should be found OK if the path is set correctly but it is often better to go to the Qt\4.8.2 and \Mingw folders and copy them from the following sources.&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-09-01T00:47:05Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Configuring the MSYS environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version 3.13 is supported. Our new version is 3.17 (newer), and you can safely ignore the warning and continue. &lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; and \program files\gnuwin32&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include;c:\mingw\include\Gl&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-15T00:54:00Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 9: Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion Note: This method is no longer applicable since the code is stored in Bazzar. See STEP 7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version&lt;br /&gt;
3.13 is supported. Our new version is 3.17 (newer), and you can safely&lt;br /&gt;
ignore the warning and continue.&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
Note: Make sure there is no path to any previous locations of the older versions of gettext, libintl, libiconv-2. Typically in \Program Files\GnuWin32 or \DevCpp from earlier dependencies. &lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
The Dll's should be found OK if the path is set correctly but it is often better to go to the Qt\4.8.2 and \Mingw folders and copy them from the following sources.&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-08-15T00:49:11Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Configuring the MSYS environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version 3.13 is supported. Our new version is 3.17 (newer), and you can safely ignore the warning and continue. &lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; and \program files\gnuwin32&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-15T00:46:45Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 4: MinGW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion Note: This method is no longer applicable since the code is stored in Bazzar. See STEP 7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version&lt;br /&gt;
3.13 is supported. Our new version is 3.17 (newer), and you can safely&lt;br /&gt;
ignore the warning and continue.&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
Note: Make sure there is no path to any previous locations of the older versions of gettext, libintl, libiconv-2. Typically in \Program Files\GnuWin32 or \DevCpp from earlier dependencies. &lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-14T20:40:02Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 4: MinGW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion Note: This method is no longer applicable since the code is stored in Bazzar. See STEP 7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version&lt;br /&gt;
3.13 is supported. Our new version is 3.17 (newer), and you can safely&lt;br /&gt;
ignore the warning and continue.&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
Note: Make sure there is no path to any previous locations of the older versions of gettext, libintl, libiconv-2. Typically in \Programs and Files\GnuWin32 or \DevCpp from earlier dependencies. &lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-08-13T06:02:11Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with MinGW32 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version 3.13 is supported. Our new version is 3.17 (newer), and you can safely ignore the warning and continue. &lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-13T03:45:07Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 2: Qt SDK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion Note: This method is no longer applicable since the code is stored in Bazzar. See STEP 7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
Note: Qt 4.8.2 installation will emit a warning that only MinGW w32api.h version&lt;br /&gt;
3.13 is supported. Our new version is 3.17 (newer), and you can safely&lt;br /&gt;
ignore the warning and continue.&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-13T03:36:23Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 1: SVN client */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion Note: This method is no longer applicable since the code is stored in Bazzar. See STEP 7&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-13T03:35:22Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 1: SVN client */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion Note: This method is no longer applicable since the code is stored in Bazzar.&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithVisualCpp</id>
		<title>CompileWithVisualCpp</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithVisualCpp"/>
				<updated>2012-08-10T23:04:42Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{obsolete}}&lt;br /&gt;
These instruction should work for Stellarium version 0.10.2 or before. For more recent versions, please use the [[Windows_Build_Instructions]] method which is much simpler. &lt;br /&gt;
&lt;br /&gt;
Qt now contains a version for use with Visual Studio.  This method may be relevant and should be investigated&lt;br /&gt;
&lt;br /&gt;
== Visual Studio settings ==&lt;br /&gt;
before compiling &lt;br /&gt;
=== Adding paths ===&lt;br /&gt;
Adding paths for include files and libary files&lt;br /&gt;
To add newly added libraries to default search path for compilation and debugging :&lt;br /&gt;
start Visual Studio and go to Tools-&amp;gt;Options&lt;br /&gt;
Add external Directories to &amp;quot;Microsoft Visual Studio&amp;quot; from Tools-&amp;gt;Options, select &amp;quot;Project and Solutions&amp;quot; anf from there &amp;quot;VC++ Directories&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Select &amp;quot;Include files&amp;quot; from &amp;quot;Show directories for:&amp;quot; and add directories :&lt;br /&gt;
&lt;br /&gt;
 C:\Zlib\include&lt;br /&gt;
 C:\SDL\include&lt;br /&gt;
 C:\freetype\include&lt;br /&gt;
 C:\libjpeg\include&lt;br /&gt;
 C:\libpng\include&lt;br /&gt;
 C:\Boost\include&lt;br /&gt;
 C:\GnuWin32\include&lt;br /&gt;
		&lt;br /&gt;
Next add Library locations of libraries, Select &amp;quot;Library Files&amp;quot; from &amp;quot;Show directories for:&amp;quot; and add directories:&lt;br /&gt;
&lt;br /&gt;
 C:\Zlib\lib&lt;br /&gt;
 C:\SDL\lib&lt;br /&gt;
 C:\freetype\lib&lt;br /&gt;
 C:\libjpeg\lib&lt;br /&gt;
 C:\libpng\lib&lt;br /&gt;
 C:\Boost\lib&lt;br /&gt;
 C:\GnuWin32\lib&lt;br /&gt;
&lt;br /&gt;
=== Create Solution ===&lt;br /&gt;
1) To create solution for '''stellarium''' &lt;br /&gt;
 * Select &amp;quot;New...-&amp;gt;Project&amp;quot; from &amp;quot;File&amp;quot;-menu&lt;br /&gt;
 * From &amp;quot;Visual C++&amp;quot; type select general and from there select &amp;quot;Empty Project&amp;quot;&lt;br /&gt;
 * Enter name form project &amp;quot;Stellarium&amp;quot;&lt;br /&gt;
 * Enter name for Solution &amp;quot;Stellarium&amp;quot;&lt;br /&gt;
 * If You want to change the location of project just do it ;}&lt;br /&gt;
 * Click &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now there should be a solution called &amp;quot;stellarium&amp;quot; and under it project called &amp;quot;stellarium&amp;quot;. Next step is to set the project properties &lt;br /&gt;
&lt;br /&gt;
2) Project Properties&lt;br /&gt;
 Select &amp;quot;Project-&amp;gt;Properties&amp;quot;&lt;br /&gt;
 * Select &amp;quot;All Configurations&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
&lt;br /&gt;
  General : &lt;br /&gt;
   Output Directory as '''C:\Stellarium'''&lt;br /&gt;
   Configuration Type as '''Appllication (.exe)'''&lt;br /&gt;
  C/C++&lt;br /&gt;
   General&lt;br /&gt;
    Additional Include Directories:&lt;br /&gt;
     ...\stellarium\src\planetsephems;&lt;br /&gt;
     ...\stellarium\src\stelutils;&lt;br /&gt;
     ...\stellarium\src\msdirent;&lt;br /&gt;
     ..\stellarium\src;&lt;br /&gt;
    Preprocessor&lt;br /&gt;
     Preprocessor Definitions:&lt;br /&gt;
      _USE_MATH_DEFINES;&lt;br /&gt;
      _CRT_SECURE_NO_DEPRECATE;&lt;br /&gt;
      _ATL_SECURE_NO_DEPRECATE;&lt;br /&gt;
      main=SDL_main;&lt;br /&gt;
      POSIX;&lt;br /&gt;
      WIN32;&lt;br /&gt;
      WIN32_LEAN_AND_MEAN&lt;br /&gt;
  Linker&lt;br /&gt;
   Input&lt;br /&gt;
    Additipnal Dependices&lt;br /&gt;
     msvcrt.lib &lt;br /&gt;
     Ws2_32.lib &lt;br /&gt;
     freetype221.lib &lt;br /&gt;
     libpng13.lib &lt;br /&gt;
     SDL.lib &lt;br /&gt;
     libjpeg.lib &lt;br /&gt;
     libintl.lib &lt;br /&gt;
     SDLmain.lib &lt;br /&gt;
     zdll.lib &lt;br /&gt;
     Opengl32.lib &lt;br /&gt;
     Glu32.lib &lt;br /&gt;
    Ignore Specific Libraries as '''LIBCMT.lib'''&lt;br /&gt;
   System&lt;br /&gt;
    SubSystem as '''Console (/SUBSYSTEM:CONSOLE)'''&lt;br /&gt;
&lt;br /&gt;
 * Select &amp;quot;Release&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
  C/C++&lt;br /&gt;
   General&lt;br /&gt;
    Optimization as '''Optimization: Maximize Speed (/O2)'''&lt;br /&gt;
&lt;br /&gt;
 * Select &amp;quot;Debug&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
  C/C++&lt;br /&gt;
   General			&lt;br /&gt;
    Debug Information Format as '''Program Database for Edit &amp;amp; Continue (/ZI)'''&lt;br /&gt;
    Optimization&lt;br /&gt;
     Optimization as '''Disabled (/Od)'''&lt;br /&gt;
    Preprocessor&lt;br /&gt;
      _USE_MATH_DEFINES;&lt;br /&gt;
      _CRT_SECURE_NO_DEPRECATE;&lt;br /&gt;
      _ATL_SECURE_NO_DEPRECATE;&lt;br /&gt;
      main=SDL_main;&lt;br /&gt;
      POSIX;&lt;br /&gt;
      WIN32;&lt;br /&gt;
      WIN32_LEAN_AND_MEAN&lt;br /&gt;
      DEBUG&lt;br /&gt;
    Output Files&lt;br /&gt;
     Program Database File Name as '''$(TargetDir)\vc80.pdb'''&lt;br /&gt;
   Linker&lt;br /&gt;
    Input&lt;br /&gt;
     Ignore Specific Libraries as '''LIBCMT.lib'''&lt;br /&gt;
    Debugging&lt;br /&gt;
     Generate Debug Info as '''Yes(/DEBUG)'''&lt;br /&gt;
&lt;br /&gt;
2) Add files to &amp;quot;stellarium&amp;quot; project&lt;br /&gt;
Add existing files to project:&lt;br /&gt;
 &amp;quot;Header Files&amp;quot;  : '''Add existing files''', select all header files from ...\Stellarium\src&lt;br /&gt;
 &amp;quot;Source Files&amp;quot;  : '''Add existing files''', select all header files from ...\Stellarium\src&lt;br /&gt;
&lt;br /&gt;
Now we have solution and project for stellarium, next thing is to add projects for &amp;quot;iniparser&amp;quot;, &amp;quot;msdirent&amp;quot;, &amp;quot;plantetsephms&amp;quot; and &amp;quot;stelutils&amp;quot;. The creation of these projects is similar to &amp;quot;stellarium&amp;quot; project except the :&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Project type&amp;quot;s are'''Static Library (.lib)''' &lt;br /&gt;
&lt;br /&gt;
and the &lt;br /&gt;
&lt;br /&gt;
 &amp;quot;C/C++-&amp;gt;Preprocessor-&amp;gt;Preprocessor Defines&amp;quot;s are &lt;br /&gt;
 '''_CRT_SECURE_NO_DEPRECATE;_USE_MATH_DEFINES''' &lt;br /&gt;
&lt;br /&gt;
also the &amp;quot;stelutils&amp;quot;-project should have &lt;br /&gt;
 &amp;quot;Additional Include Directories&amp;quot; as &lt;br /&gt;
 ...\stellarium\src\stelutils\iniparser&lt;br /&gt;
 ...\stellarium\src\planetsephems;&lt;br /&gt;
 ...\stellarium\src\stelutils;&lt;br /&gt;
 ...\stellarium\src\msdirent;&lt;br /&gt;
 ...\stellarium\src&lt;br /&gt;
&lt;br /&gt;
=== Create dependencies ===&lt;br /&gt;
To create dependencies right-click on &amp;quot;Stellarium&amp;quot; solution and select &amp;quot;Properties&amp;quot;&lt;br /&gt;
1) check that the &amp;quot;Single startup project&amp;quot; in &amp;quot;Common Properties-&amp;gt;Startup Project&amp;quot; is checkd and the project selected is &amp;quot;Stellarium&amp;quot;. &lt;br /&gt;
2) on &amp;quot;Project Dependencies&amp;quot; '''Stellarium is depended all other projects''' and other projects are independed&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
Yes, that's all folks! Just try to build the solution first on &amp;quot;Debug&amp;quot;-mode &lt;br /&gt;
&lt;br /&gt;
== Run ==&lt;br /&gt;
Before actually run the application You must copy the libraries *.dll's into the target directory of build e.g. C:\Stellarium or have the *.dll's in Your path (I prefere the first: copy the dll's)&lt;br /&gt;
&lt;br /&gt;
Also the directory structure of config/data/texture and so on must be present in the target directory e.g. C:\Stellarium&lt;br /&gt;
&lt;br /&gt;
That's all ! &lt;br /&gt;
&lt;br /&gt;
[[Now! Just have fun]] and don't hesitate to contact me if You have problems and/or suggestions&lt;br /&gt;
&lt;br /&gt;
Lippo (lippo dot huhtala at saunalahti dot fi)&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithVisualCpp</id>
		<title>CompileWithVisualCpp</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithVisualCpp"/>
				<updated>2012-08-10T23:03:36Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{obsolete}}&lt;br /&gt;
These instruction should work for Stellarium version 0.10.2 or before. For more recent versions, please use the [[Windows_Build_Instructions]] method which is much simpler. &lt;br /&gt;
&lt;br /&gt;
Qt now contains a version for use with Visual Studio and this method may be relevant should be investigated&lt;br /&gt;
&lt;br /&gt;
== Visual Studio settings ==&lt;br /&gt;
before compiling &lt;br /&gt;
=== Adding paths ===&lt;br /&gt;
Adding paths for include files and libary files&lt;br /&gt;
To add newly added libraries to default search path for compilation and debugging :&lt;br /&gt;
start Visual Studio and go to Tools-&amp;gt;Options&lt;br /&gt;
Add external Directories to &amp;quot;Microsoft Visual Studio&amp;quot; from Tools-&amp;gt;Options, select &amp;quot;Project and Solutions&amp;quot; anf from there &amp;quot;VC++ Directories&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Select &amp;quot;Include files&amp;quot; from &amp;quot;Show directories for:&amp;quot; and add directories :&lt;br /&gt;
&lt;br /&gt;
 C:\Zlib\include&lt;br /&gt;
 C:\SDL\include&lt;br /&gt;
 C:\freetype\include&lt;br /&gt;
 C:\libjpeg\include&lt;br /&gt;
 C:\libpng\include&lt;br /&gt;
 C:\Boost\include&lt;br /&gt;
 C:\GnuWin32\include&lt;br /&gt;
		&lt;br /&gt;
Next add Library locations of libraries, Select &amp;quot;Library Files&amp;quot; from &amp;quot;Show directories for:&amp;quot; and add directories:&lt;br /&gt;
&lt;br /&gt;
 C:\Zlib\lib&lt;br /&gt;
 C:\SDL\lib&lt;br /&gt;
 C:\freetype\lib&lt;br /&gt;
 C:\libjpeg\lib&lt;br /&gt;
 C:\libpng\lib&lt;br /&gt;
 C:\Boost\lib&lt;br /&gt;
 C:\GnuWin32\lib&lt;br /&gt;
&lt;br /&gt;
=== Create Solution ===&lt;br /&gt;
1) To create solution for '''stellarium''' &lt;br /&gt;
 * Select &amp;quot;New...-&amp;gt;Project&amp;quot; from &amp;quot;File&amp;quot;-menu&lt;br /&gt;
 * From &amp;quot;Visual C++&amp;quot; type select general and from there select &amp;quot;Empty Project&amp;quot;&lt;br /&gt;
 * Enter name form project &amp;quot;Stellarium&amp;quot;&lt;br /&gt;
 * Enter name for Solution &amp;quot;Stellarium&amp;quot;&lt;br /&gt;
 * If You want to change the location of project just do it ;}&lt;br /&gt;
 * Click &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now there should be a solution called &amp;quot;stellarium&amp;quot; and under it project called &amp;quot;stellarium&amp;quot;. Next step is to set the project properties &lt;br /&gt;
&lt;br /&gt;
2) Project Properties&lt;br /&gt;
 Select &amp;quot;Project-&amp;gt;Properties&amp;quot;&lt;br /&gt;
 * Select &amp;quot;All Configurations&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
&lt;br /&gt;
  General : &lt;br /&gt;
   Output Directory as '''C:\Stellarium'''&lt;br /&gt;
   Configuration Type as '''Appllication (.exe)'''&lt;br /&gt;
  C/C++&lt;br /&gt;
   General&lt;br /&gt;
    Additional Include Directories:&lt;br /&gt;
     ...\stellarium\src\planetsephems;&lt;br /&gt;
     ...\stellarium\src\stelutils;&lt;br /&gt;
     ...\stellarium\src\msdirent;&lt;br /&gt;
     ..\stellarium\src;&lt;br /&gt;
    Preprocessor&lt;br /&gt;
     Preprocessor Definitions:&lt;br /&gt;
      _USE_MATH_DEFINES;&lt;br /&gt;
      _CRT_SECURE_NO_DEPRECATE;&lt;br /&gt;
      _ATL_SECURE_NO_DEPRECATE;&lt;br /&gt;
      main=SDL_main;&lt;br /&gt;
      POSIX;&lt;br /&gt;
      WIN32;&lt;br /&gt;
      WIN32_LEAN_AND_MEAN&lt;br /&gt;
  Linker&lt;br /&gt;
   Input&lt;br /&gt;
    Additipnal Dependices&lt;br /&gt;
     msvcrt.lib &lt;br /&gt;
     Ws2_32.lib &lt;br /&gt;
     freetype221.lib &lt;br /&gt;
     libpng13.lib &lt;br /&gt;
     SDL.lib &lt;br /&gt;
     libjpeg.lib &lt;br /&gt;
     libintl.lib &lt;br /&gt;
     SDLmain.lib &lt;br /&gt;
     zdll.lib &lt;br /&gt;
     Opengl32.lib &lt;br /&gt;
     Glu32.lib &lt;br /&gt;
    Ignore Specific Libraries as '''LIBCMT.lib'''&lt;br /&gt;
   System&lt;br /&gt;
    SubSystem as '''Console (/SUBSYSTEM:CONSOLE)'''&lt;br /&gt;
&lt;br /&gt;
 * Select &amp;quot;Release&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
  C/C++&lt;br /&gt;
   General&lt;br /&gt;
    Optimization as '''Optimization: Maximize Speed (/O2)'''&lt;br /&gt;
&lt;br /&gt;
 * Select &amp;quot;Debug&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
  C/C++&lt;br /&gt;
   General			&lt;br /&gt;
    Debug Information Format as '''Program Database for Edit &amp;amp; Continue (/ZI)'''&lt;br /&gt;
    Optimization&lt;br /&gt;
     Optimization as '''Disabled (/Od)'''&lt;br /&gt;
    Preprocessor&lt;br /&gt;
      _USE_MATH_DEFINES;&lt;br /&gt;
      _CRT_SECURE_NO_DEPRECATE;&lt;br /&gt;
      _ATL_SECURE_NO_DEPRECATE;&lt;br /&gt;
      main=SDL_main;&lt;br /&gt;
      POSIX;&lt;br /&gt;
      WIN32;&lt;br /&gt;
      WIN32_LEAN_AND_MEAN&lt;br /&gt;
      DEBUG&lt;br /&gt;
    Output Files&lt;br /&gt;
     Program Database File Name as '''$(TargetDir)\vc80.pdb'''&lt;br /&gt;
   Linker&lt;br /&gt;
    Input&lt;br /&gt;
     Ignore Specific Libraries as '''LIBCMT.lib'''&lt;br /&gt;
    Debugging&lt;br /&gt;
     Generate Debug Info as '''Yes(/DEBUG)'''&lt;br /&gt;
&lt;br /&gt;
2) Add files to &amp;quot;stellarium&amp;quot; project&lt;br /&gt;
Add existing files to project:&lt;br /&gt;
 &amp;quot;Header Files&amp;quot;  : '''Add existing files''', select all header files from ...\Stellarium\src&lt;br /&gt;
 &amp;quot;Source Files&amp;quot;  : '''Add existing files''', select all header files from ...\Stellarium\src&lt;br /&gt;
&lt;br /&gt;
Now we have solution and project for stellarium, next thing is to add projects for &amp;quot;iniparser&amp;quot;, &amp;quot;msdirent&amp;quot;, &amp;quot;plantetsephms&amp;quot; and &amp;quot;stelutils&amp;quot;. The creation of these projects is similar to &amp;quot;stellarium&amp;quot; project except the :&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Project type&amp;quot;s are'''Static Library (.lib)''' &lt;br /&gt;
&lt;br /&gt;
and the &lt;br /&gt;
&lt;br /&gt;
 &amp;quot;C/C++-&amp;gt;Preprocessor-&amp;gt;Preprocessor Defines&amp;quot;s are &lt;br /&gt;
 '''_CRT_SECURE_NO_DEPRECATE;_USE_MATH_DEFINES''' &lt;br /&gt;
&lt;br /&gt;
also the &amp;quot;stelutils&amp;quot;-project should have &lt;br /&gt;
 &amp;quot;Additional Include Directories&amp;quot; as &lt;br /&gt;
 ...\stellarium\src\stelutils\iniparser&lt;br /&gt;
 ...\stellarium\src\planetsephems;&lt;br /&gt;
 ...\stellarium\src\stelutils;&lt;br /&gt;
 ...\stellarium\src\msdirent;&lt;br /&gt;
 ...\stellarium\src&lt;br /&gt;
&lt;br /&gt;
=== Create dependencies ===&lt;br /&gt;
To create dependencies right-click on &amp;quot;Stellarium&amp;quot; solution and select &amp;quot;Properties&amp;quot;&lt;br /&gt;
1) check that the &amp;quot;Single startup project&amp;quot; in &amp;quot;Common Properties-&amp;gt;Startup Project&amp;quot; is checkd and the project selected is &amp;quot;Stellarium&amp;quot;. &lt;br /&gt;
2) on &amp;quot;Project Dependencies&amp;quot; '''Stellarium is depended all other projects''' and other projects are independed&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
Yes, that's all folks! Just try to build the solution first on &amp;quot;Debug&amp;quot;-mode &lt;br /&gt;
&lt;br /&gt;
== Run ==&lt;br /&gt;
Before actually run the application You must copy the libraries *.dll's into the target directory of build e.g. C:\Stellarium or have the *.dll's in Your path (I prefere the first: copy the dll's)&lt;br /&gt;
&lt;br /&gt;
Also the directory structure of config/data/texture and so on must be present in the target directory e.g. C:\Stellarium&lt;br /&gt;
&lt;br /&gt;
That's all ! &lt;br /&gt;
&lt;br /&gt;
[[Now! Just have fun]] and don't hesitate to contact me if You have problems and/or suggestions&lt;br /&gt;
&lt;br /&gt;
Lippo (lippo dot huhtala at saunalahti dot fi)&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithVisualCpp</id>
		<title>CompileWithVisualCpp</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithVisualCpp"/>
				<updated>2012-08-10T23:02:09Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{obsolete}}&lt;br /&gt;
These instruction should work for Stellarium version 0.10.2 or before. For more recent versions, please use the [[Windows_Build_Instructions]] method which is much simpler. &lt;br /&gt;
&lt;br /&gt;
== Visual Studio settings ==&lt;br /&gt;
before compiling &lt;br /&gt;
=== Adding paths ===&lt;br /&gt;
Adding paths for include files and libary files&lt;br /&gt;
To add newly added libraries to default search path for compilation and debugging :&lt;br /&gt;
start Visual Studio and go to Tools-&amp;gt;Options&lt;br /&gt;
Add external Directories to &amp;quot;Microsoft Visual Studio&amp;quot; from Tools-&amp;gt;Options, select &amp;quot;Project and Solutions&amp;quot; anf from there &amp;quot;VC++ Directories&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Select &amp;quot;Include files&amp;quot; from &amp;quot;Show directories for:&amp;quot; and add directories :&lt;br /&gt;
&lt;br /&gt;
 C:\Zlib\include&lt;br /&gt;
 C:\SDL\include&lt;br /&gt;
 C:\freetype\include&lt;br /&gt;
 C:\libjpeg\include&lt;br /&gt;
 C:\libpng\include&lt;br /&gt;
 C:\Boost\include&lt;br /&gt;
 C:\GnuWin32\include&lt;br /&gt;
		&lt;br /&gt;
Next add Library locations of libraries, Select &amp;quot;Library Files&amp;quot; from &amp;quot;Show directories for:&amp;quot; and add directories:&lt;br /&gt;
&lt;br /&gt;
 C:\Zlib\lib&lt;br /&gt;
 C:\SDL\lib&lt;br /&gt;
 C:\freetype\lib&lt;br /&gt;
 C:\libjpeg\lib&lt;br /&gt;
 C:\libpng\lib&lt;br /&gt;
 C:\Boost\lib&lt;br /&gt;
 C:\GnuWin32\lib&lt;br /&gt;
&lt;br /&gt;
=== Create Solution ===&lt;br /&gt;
1) To create solution for '''stellarium''' &lt;br /&gt;
 * Select &amp;quot;New...-&amp;gt;Project&amp;quot; from &amp;quot;File&amp;quot;-menu&lt;br /&gt;
 * From &amp;quot;Visual C++&amp;quot; type select general and from there select &amp;quot;Empty Project&amp;quot;&lt;br /&gt;
 * Enter name form project &amp;quot;Stellarium&amp;quot;&lt;br /&gt;
 * Enter name for Solution &amp;quot;Stellarium&amp;quot;&lt;br /&gt;
 * If You want to change the location of project just do it ;}&lt;br /&gt;
 * Click &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now there should be a solution called &amp;quot;stellarium&amp;quot; and under it project called &amp;quot;stellarium&amp;quot;. Next step is to set the project properties &lt;br /&gt;
&lt;br /&gt;
2) Project Properties&lt;br /&gt;
 Select &amp;quot;Project-&amp;gt;Properties&amp;quot;&lt;br /&gt;
 * Select &amp;quot;All Configurations&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
&lt;br /&gt;
  General : &lt;br /&gt;
   Output Directory as '''C:\Stellarium'''&lt;br /&gt;
   Configuration Type as '''Appllication (.exe)'''&lt;br /&gt;
  C/C++&lt;br /&gt;
   General&lt;br /&gt;
    Additional Include Directories:&lt;br /&gt;
     ...\stellarium\src\planetsephems;&lt;br /&gt;
     ...\stellarium\src\stelutils;&lt;br /&gt;
     ...\stellarium\src\msdirent;&lt;br /&gt;
     ..\stellarium\src;&lt;br /&gt;
    Preprocessor&lt;br /&gt;
     Preprocessor Definitions:&lt;br /&gt;
      _USE_MATH_DEFINES;&lt;br /&gt;
      _CRT_SECURE_NO_DEPRECATE;&lt;br /&gt;
      _ATL_SECURE_NO_DEPRECATE;&lt;br /&gt;
      main=SDL_main;&lt;br /&gt;
      POSIX;&lt;br /&gt;
      WIN32;&lt;br /&gt;
      WIN32_LEAN_AND_MEAN&lt;br /&gt;
  Linker&lt;br /&gt;
   Input&lt;br /&gt;
    Additipnal Dependices&lt;br /&gt;
     msvcrt.lib &lt;br /&gt;
     Ws2_32.lib &lt;br /&gt;
     freetype221.lib &lt;br /&gt;
     libpng13.lib &lt;br /&gt;
     SDL.lib &lt;br /&gt;
     libjpeg.lib &lt;br /&gt;
     libintl.lib &lt;br /&gt;
     SDLmain.lib &lt;br /&gt;
     zdll.lib &lt;br /&gt;
     Opengl32.lib &lt;br /&gt;
     Glu32.lib &lt;br /&gt;
    Ignore Specific Libraries as '''LIBCMT.lib'''&lt;br /&gt;
   System&lt;br /&gt;
    SubSystem as '''Console (/SUBSYSTEM:CONSOLE)'''&lt;br /&gt;
&lt;br /&gt;
 * Select &amp;quot;Release&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
  C/C++&lt;br /&gt;
   General&lt;br /&gt;
    Optimization as '''Optimization: Maximize Speed (/O2)'''&lt;br /&gt;
&lt;br /&gt;
 * Select &amp;quot;Debug&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
  C/C++&lt;br /&gt;
   General			&lt;br /&gt;
    Debug Information Format as '''Program Database for Edit &amp;amp; Continue (/ZI)'''&lt;br /&gt;
    Optimization&lt;br /&gt;
     Optimization as '''Disabled (/Od)'''&lt;br /&gt;
    Preprocessor&lt;br /&gt;
      _USE_MATH_DEFINES;&lt;br /&gt;
      _CRT_SECURE_NO_DEPRECATE;&lt;br /&gt;
      _ATL_SECURE_NO_DEPRECATE;&lt;br /&gt;
      main=SDL_main;&lt;br /&gt;
      POSIX;&lt;br /&gt;
      WIN32;&lt;br /&gt;
      WIN32_LEAN_AND_MEAN&lt;br /&gt;
      DEBUG&lt;br /&gt;
    Output Files&lt;br /&gt;
     Program Database File Name as '''$(TargetDir)\vc80.pdb'''&lt;br /&gt;
   Linker&lt;br /&gt;
    Input&lt;br /&gt;
     Ignore Specific Libraries as '''LIBCMT.lib'''&lt;br /&gt;
    Debugging&lt;br /&gt;
     Generate Debug Info as '''Yes(/DEBUG)'''&lt;br /&gt;
&lt;br /&gt;
2) Add files to &amp;quot;stellarium&amp;quot; project&lt;br /&gt;
Add existing files to project:&lt;br /&gt;
 &amp;quot;Header Files&amp;quot;  : '''Add existing files''', select all header files from ...\Stellarium\src&lt;br /&gt;
 &amp;quot;Source Files&amp;quot;  : '''Add existing files''', select all header files from ...\Stellarium\src&lt;br /&gt;
&lt;br /&gt;
Now we have solution and project for stellarium, next thing is to add projects for &amp;quot;iniparser&amp;quot;, &amp;quot;msdirent&amp;quot;, &amp;quot;plantetsephms&amp;quot; and &amp;quot;stelutils&amp;quot;. The creation of these projects is similar to &amp;quot;stellarium&amp;quot; project except the :&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Project type&amp;quot;s are'''Static Library (.lib)''' &lt;br /&gt;
&lt;br /&gt;
and the &lt;br /&gt;
&lt;br /&gt;
 &amp;quot;C/C++-&amp;gt;Preprocessor-&amp;gt;Preprocessor Defines&amp;quot;s are &lt;br /&gt;
 '''_CRT_SECURE_NO_DEPRECATE;_USE_MATH_DEFINES''' &lt;br /&gt;
&lt;br /&gt;
also the &amp;quot;stelutils&amp;quot;-project should have &lt;br /&gt;
 &amp;quot;Additional Include Directories&amp;quot; as &lt;br /&gt;
 ...\stellarium\src\stelutils\iniparser&lt;br /&gt;
 ...\stellarium\src\planetsephems;&lt;br /&gt;
 ...\stellarium\src\stelutils;&lt;br /&gt;
 ...\stellarium\src\msdirent;&lt;br /&gt;
 ...\stellarium\src&lt;br /&gt;
&lt;br /&gt;
=== Create dependencies ===&lt;br /&gt;
To create dependencies right-click on &amp;quot;Stellarium&amp;quot; solution and select &amp;quot;Properties&amp;quot;&lt;br /&gt;
1) check that the &amp;quot;Single startup project&amp;quot; in &amp;quot;Common Properties-&amp;gt;Startup Project&amp;quot; is checkd and the project selected is &amp;quot;Stellarium&amp;quot;. &lt;br /&gt;
2) on &amp;quot;Project Dependencies&amp;quot; '''Stellarium is depended all other projects''' and other projects are independed&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
Yes, that's all folks! Just try to build the solution first on &amp;quot;Debug&amp;quot;-mode &lt;br /&gt;
&lt;br /&gt;
== Run ==&lt;br /&gt;
Before actually run the application You must copy the libraries *.dll's into the target directory of build e.g. C:\Stellarium or have the *.dll's in Your path (I prefere the first: copy the dll's)&lt;br /&gt;
&lt;br /&gt;
Also the directory structure of config/data/texture and so on must be present in the target directory e.g. C:\Stellarium&lt;br /&gt;
&lt;br /&gt;
That's all ! &lt;br /&gt;
&lt;br /&gt;
[[Now! Just have fun]] and don't hesitate to contact me if You have problems and/or suggestions&lt;br /&gt;
&lt;br /&gt;
Lippo (lippo dot huhtala at saunalahti dot fi)&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithVisualCpp</id>
		<title>CompileWithVisualCpp</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithVisualCpp"/>
				<updated>2012-08-10T22:59:36Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{obsolete}}&lt;br /&gt;
These instruction should work for Stellarium version 0.10.2 or before. For more recent versions, please use the [[Windows_Build_Instructions]] method which is much simpler. &lt;br /&gt;
&lt;br /&gt;
Qt now contains a version for use with Visual Studio and this method should be investigated&lt;br /&gt;
&lt;br /&gt;
== Visual Studio settings ==&lt;br /&gt;
before compiling &lt;br /&gt;
=== Adding paths ===&lt;br /&gt;
Adding paths for include files and libary files&lt;br /&gt;
To add newly added libraries to default search path for compilation and debugging :&lt;br /&gt;
start Visual Studio and go to Tools-&amp;gt;Options&lt;br /&gt;
Add external Directories to &amp;quot;Microsoft Visual Studio&amp;quot; from Tools-&amp;gt;Options, select &amp;quot;Project and Solutions&amp;quot; anf from there &amp;quot;VC++ Directories&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Select &amp;quot;Include files&amp;quot; from &amp;quot;Show directories for:&amp;quot; and add directories :&lt;br /&gt;
&lt;br /&gt;
 C:\Zlib\include&lt;br /&gt;
 C:\SDL\include&lt;br /&gt;
 C:\freetype\include&lt;br /&gt;
 C:\libjpeg\include&lt;br /&gt;
 C:\libpng\include&lt;br /&gt;
 C:\Boost\include&lt;br /&gt;
 C:\GnuWin32\include&lt;br /&gt;
		&lt;br /&gt;
Next add Library locations of libraries, Select &amp;quot;Library Files&amp;quot; from &amp;quot;Show directories for:&amp;quot; and add directories:&lt;br /&gt;
&lt;br /&gt;
 C:\Zlib\lib&lt;br /&gt;
 C:\SDL\lib&lt;br /&gt;
 C:\freetype\lib&lt;br /&gt;
 C:\libjpeg\lib&lt;br /&gt;
 C:\libpng\lib&lt;br /&gt;
 C:\Boost\lib&lt;br /&gt;
 C:\GnuWin32\lib&lt;br /&gt;
&lt;br /&gt;
=== Create Solution ===&lt;br /&gt;
1) To create solution for '''stellarium''' &lt;br /&gt;
 * Select &amp;quot;New...-&amp;gt;Project&amp;quot; from &amp;quot;File&amp;quot;-menu&lt;br /&gt;
 * From &amp;quot;Visual C++&amp;quot; type select general and from there select &amp;quot;Empty Project&amp;quot;&lt;br /&gt;
 * Enter name form project &amp;quot;Stellarium&amp;quot;&lt;br /&gt;
 * Enter name for Solution &amp;quot;Stellarium&amp;quot;&lt;br /&gt;
 * If You want to change the location of project just do it ;}&lt;br /&gt;
 * Click &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now there should be a solution called &amp;quot;stellarium&amp;quot; and under it project called &amp;quot;stellarium&amp;quot;. Next step is to set the project properties &lt;br /&gt;
&lt;br /&gt;
2) Project Properties&lt;br /&gt;
 Select &amp;quot;Project-&amp;gt;Properties&amp;quot;&lt;br /&gt;
 * Select &amp;quot;All Configurations&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
&lt;br /&gt;
  General : &lt;br /&gt;
   Output Directory as '''C:\Stellarium'''&lt;br /&gt;
   Configuration Type as '''Appllication (.exe)'''&lt;br /&gt;
  C/C++&lt;br /&gt;
   General&lt;br /&gt;
    Additional Include Directories:&lt;br /&gt;
     ...\stellarium\src\planetsephems;&lt;br /&gt;
     ...\stellarium\src\stelutils;&lt;br /&gt;
     ...\stellarium\src\msdirent;&lt;br /&gt;
     ..\stellarium\src;&lt;br /&gt;
    Preprocessor&lt;br /&gt;
     Preprocessor Definitions:&lt;br /&gt;
      _USE_MATH_DEFINES;&lt;br /&gt;
      _CRT_SECURE_NO_DEPRECATE;&lt;br /&gt;
      _ATL_SECURE_NO_DEPRECATE;&lt;br /&gt;
      main=SDL_main;&lt;br /&gt;
      POSIX;&lt;br /&gt;
      WIN32;&lt;br /&gt;
      WIN32_LEAN_AND_MEAN&lt;br /&gt;
  Linker&lt;br /&gt;
   Input&lt;br /&gt;
    Additipnal Dependices&lt;br /&gt;
     msvcrt.lib &lt;br /&gt;
     Ws2_32.lib &lt;br /&gt;
     freetype221.lib &lt;br /&gt;
     libpng13.lib &lt;br /&gt;
     SDL.lib &lt;br /&gt;
     libjpeg.lib &lt;br /&gt;
     libintl.lib &lt;br /&gt;
     SDLmain.lib &lt;br /&gt;
     zdll.lib &lt;br /&gt;
     Opengl32.lib &lt;br /&gt;
     Glu32.lib &lt;br /&gt;
    Ignore Specific Libraries as '''LIBCMT.lib'''&lt;br /&gt;
   System&lt;br /&gt;
    SubSystem as '''Console (/SUBSYSTEM:CONSOLE)'''&lt;br /&gt;
&lt;br /&gt;
 * Select &amp;quot;Release&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
  C/C++&lt;br /&gt;
   General&lt;br /&gt;
    Optimization as '''Optimization: Maximize Speed (/O2)'''&lt;br /&gt;
&lt;br /&gt;
 * Select &amp;quot;Debug&amp;quot; from &amp;quot;Configuration:&amp;quot;, browse and set &lt;br /&gt;
   in &amp;quot;Configuration Properties&amp;quot; and set &lt;br /&gt;
  C/C++&lt;br /&gt;
   General			&lt;br /&gt;
    Debug Information Format as '''Program Database for Edit &amp;amp; Continue (/ZI)'''&lt;br /&gt;
    Optimization&lt;br /&gt;
     Optimization as '''Disabled (/Od)'''&lt;br /&gt;
    Preprocessor&lt;br /&gt;
      _USE_MATH_DEFINES;&lt;br /&gt;
      _CRT_SECURE_NO_DEPRECATE;&lt;br /&gt;
      _ATL_SECURE_NO_DEPRECATE;&lt;br /&gt;
      main=SDL_main;&lt;br /&gt;
      POSIX;&lt;br /&gt;
      WIN32;&lt;br /&gt;
      WIN32_LEAN_AND_MEAN&lt;br /&gt;
      DEBUG&lt;br /&gt;
    Output Files&lt;br /&gt;
     Program Database File Name as '''$(TargetDir)\vc80.pdb'''&lt;br /&gt;
   Linker&lt;br /&gt;
    Input&lt;br /&gt;
     Ignore Specific Libraries as '''LIBCMT.lib'''&lt;br /&gt;
    Debugging&lt;br /&gt;
     Generate Debug Info as '''Yes(/DEBUG)'''&lt;br /&gt;
&lt;br /&gt;
2) Add files to &amp;quot;stellarium&amp;quot; project&lt;br /&gt;
Add existing files to project:&lt;br /&gt;
 &amp;quot;Header Files&amp;quot;  : '''Add existing files''', select all header files from ...\Stellarium\src&lt;br /&gt;
 &amp;quot;Source Files&amp;quot;  : '''Add existing files''', select all header files from ...\Stellarium\src&lt;br /&gt;
&lt;br /&gt;
Now we have solution and project for stellarium, next thing is to add projects for &amp;quot;iniparser&amp;quot;, &amp;quot;msdirent&amp;quot;, &amp;quot;plantetsephms&amp;quot; and &amp;quot;stelutils&amp;quot;. The creation of these projects is similar to &amp;quot;stellarium&amp;quot; project except the :&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;Project type&amp;quot;s are'''Static Library (.lib)''' &lt;br /&gt;
&lt;br /&gt;
and the &lt;br /&gt;
&lt;br /&gt;
 &amp;quot;C/C++-&amp;gt;Preprocessor-&amp;gt;Preprocessor Defines&amp;quot;s are &lt;br /&gt;
 '''_CRT_SECURE_NO_DEPRECATE;_USE_MATH_DEFINES''' &lt;br /&gt;
&lt;br /&gt;
also the &amp;quot;stelutils&amp;quot;-project should have &lt;br /&gt;
 &amp;quot;Additional Include Directories&amp;quot; as &lt;br /&gt;
 ...\stellarium\src\stelutils\iniparser&lt;br /&gt;
 ...\stellarium\src\planetsephems;&lt;br /&gt;
 ...\stellarium\src\stelutils;&lt;br /&gt;
 ...\stellarium\src\msdirent;&lt;br /&gt;
 ...\stellarium\src&lt;br /&gt;
&lt;br /&gt;
=== Create dependencies ===&lt;br /&gt;
To create dependencies right-click on &amp;quot;Stellarium&amp;quot; solution and select &amp;quot;Properties&amp;quot;&lt;br /&gt;
1) check that the &amp;quot;Single startup project&amp;quot; in &amp;quot;Common Properties-&amp;gt;Startup Project&amp;quot; is checkd and the project selected is &amp;quot;Stellarium&amp;quot;. &lt;br /&gt;
2) on &amp;quot;Project Dependencies&amp;quot; '''Stellarium is depended all other projects''' and other projects are independed&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
Yes, that's all folks! Just try to build the solution first on &amp;quot;Debug&amp;quot;-mode &lt;br /&gt;
&lt;br /&gt;
== Run ==&lt;br /&gt;
Before actually run the application You must copy the libraries *.dll's into the target directory of build e.g. C:\Stellarium or have the *.dll's in Your path (I prefere the first: copy the dll's)&lt;br /&gt;
&lt;br /&gt;
Also the directory structure of config/data/texture and so on must be present in the target directory e.g. C:\Stellarium&lt;br /&gt;
&lt;br /&gt;
That's all ! &lt;br /&gt;
&lt;br /&gt;
[[Now! Just have fun]] and don't hesitate to contact me if You have problems and/or suggestions&lt;br /&gt;
&lt;br /&gt;
Lippo (lippo dot huhtala at saunalahti dot fi)&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-08-10T22:57:10Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with Microsoft Visual Studio 8.0 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-08-10T22:25:54Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Making the installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds from the current bzr source.&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select with an option to place an icon on the desktop if desired.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;br /&gt;
&lt;br /&gt;
= Building with Microsoft Visual Studio 8.0 =&lt;br /&gt;
&lt;br /&gt;
'''NOTE: these instructions are quite out of date.'''&lt;br /&gt;
&lt;br /&gt;
After couple of weeks work I finally got the stellarium compiled and run using MS VisualStudio 8.0. MS C/C++ compiler is quite strict with the declarations of the variables and there is some differences with the functions that MS has/has not, but finally I got it work. A huge patch is posted to Fabien, waiting it to be approved ...&lt;br /&gt;
&lt;br /&gt;
== Use SVN to get the source code ==&lt;br /&gt;
*Install development tools as described above, including Tortoise SVN (requires reboot)&lt;br /&gt;
*Start MSYS.  This will create the directory&lt;br /&gt;
 C:\msys\1.0\home\&amp;lt;yourusername&amp;gt;&lt;br /&gt;
*Browse there with file explorer.&lt;br /&gt;
*Right click in the folder and select ''SVN Checkout'' from the popup menu&lt;br /&gt;
*In the ''URL of Repository'' edit box, enter the URL of the SVN repository, which is &lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/stellarium&lt;br /&gt;
*In your .profile, set STELROOT like this:&lt;br /&gt;
 export STELROOT=&amp;quot;$HOME/stellarium&amp;quot;&lt;br /&gt;
*Optionally repeat the checkout process for the plugins with the URL:&lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/extmodules&lt;br /&gt;
&lt;br /&gt;
The result should be that when you start MSYS, you should see two sub-directories in your home directory:&lt;br /&gt;
 stellarium&lt;br /&gt;
 extmodules&lt;br /&gt;
And you should also have an environment variable STELROOT set which points at the full path of the stellarium directory.&lt;br /&gt;
&lt;br /&gt;
== External Libraries ==&lt;br /&gt;
&lt;br /&gt;
* boost : from http://www.boost.org/&lt;br /&gt;
* libintl: from http://gnuwin32.sourceforge.net/&lt;br /&gt;
* zlib: http://www.zlib.net&lt;br /&gt;
* SDL: http://www.libsdl.org/&lt;br /&gt;
* libpng: http://www.libpng.org/pub/png/libpng.html&lt;br /&gt;
* freetype: http://freetype.sourceforge.net/index2.html&lt;br /&gt;
* libjpeg: http://freshmeat.net/projects/libjpeg/&lt;br /&gt;
&lt;br /&gt;
Download the libraries and the development files (include the needed header-files), install packages and go on  ...&lt;br /&gt;
&lt;br /&gt;
Getting the source code : use '''SVN''&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-08-10T22:19:40Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds source later than svn 6052&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select and place an icon on the desktop.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;br /&gt;
&lt;br /&gt;
= Building with Microsoft Visual Studio 8.0 =&lt;br /&gt;
&lt;br /&gt;
'''NOTE: these instructions are quite out of date.'''&lt;br /&gt;
&lt;br /&gt;
After couple of weeks work I finally got the stellarium compiled and run using MS VisualStudio 8.0. MS C/C++ compiler is quite strict with the declarations of the variables and there is some differences with the functions that MS has/has not, but finally I got it work. A huge patch is posted to Fabien, waiting it to be approved ...&lt;br /&gt;
&lt;br /&gt;
== Use SVN to get the source code ==&lt;br /&gt;
*Install development tools as described above, including Tortoise SVN (requires reboot)&lt;br /&gt;
*Start MSYS.  This will create the directory&lt;br /&gt;
 C:\msys\1.0\home\&amp;lt;yourusername&amp;gt;&lt;br /&gt;
*Browse there with file explorer.&lt;br /&gt;
*Right click in the folder and select ''SVN Checkout'' from the popup menu&lt;br /&gt;
*In the ''URL of Repository'' edit box, enter the URL of the SVN repository, which is &lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/stellarium&lt;br /&gt;
*In your .profile, set STELROOT like this:&lt;br /&gt;
 export STELROOT=&amp;quot;$HOME/stellarium&amp;quot;&lt;br /&gt;
*Optionally repeat the checkout process for the plugins with the URL:&lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/extmodules&lt;br /&gt;
&lt;br /&gt;
The result should be that when you start MSYS, you should see two sub-directories in your home directory:&lt;br /&gt;
 stellarium&lt;br /&gt;
 extmodules&lt;br /&gt;
And you should also have an environment variable STELROOT set which points at the full path of the stellarium directory.&lt;br /&gt;
&lt;br /&gt;
== External Libraries ==&lt;br /&gt;
&lt;br /&gt;
* boost : from http://www.boost.org/&lt;br /&gt;
* libintl: from http://gnuwin32.sourceforge.net/&lt;br /&gt;
* zlib: http://www.zlib.net&lt;br /&gt;
* SDL: http://www.libsdl.org/&lt;br /&gt;
* libpng: http://www.libpng.org/pub/png/libpng.html&lt;br /&gt;
* freetype: http://freetype.sourceforge.net/index2.html&lt;br /&gt;
* libjpeg: http://freshmeat.net/projects/libjpeg/&lt;br /&gt;
&lt;br /&gt;
Download the libraries and the development files (include the needed header-files), install packages and go on  ...&lt;br /&gt;
&lt;br /&gt;
Getting the source code : use '''SVN''&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-10T22:08:19Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 2: Qt SDK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Libiconv, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-08-10T07:02:06Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with MinGW32 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.7.7.22907-win32-svn-1.7.5.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.7.7.22907-x64-svn-1.7.5.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD #:WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds source later than svn 6052&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select and place an icon on the desktop.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;br /&gt;
&lt;br /&gt;
= Building with Microsoft Visual Studio 8.0 =&lt;br /&gt;
&lt;br /&gt;
'''NOTE: these instructions are quite out of date.'''&lt;br /&gt;
&lt;br /&gt;
After couple of weeks work I finally got the stellarium compiled and run using MS VisualStudio 8.0. MS C/C++ compiler is quite strict with the declarations of the variables and there is some differences with the functions that MS has/has not, but finally I got it work. A huge patch is posted to Fabien, waiting it to be approved ...&lt;br /&gt;
&lt;br /&gt;
== Use SVN to get the source code ==&lt;br /&gt;
*Install development tools as described above, including Tortoise SVN (requires reboot)&lt;br /&gt;
*Start MSYS.  This will create the directory&lt;br /&gt;
 C:\msys\1.0\home\&amp;lt;yourusername&amp;gt;&lt;br /&gt;
*Browse there with file explorer.&lt;br /&gt;
*Right click in the folder and select ''SVN Checkout'' from the popup menu&lt;br /&gt;
*In the ''URL of Repository'' edit box, enter the URL of the SVN repository, which is &lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/stellarium&lt;br /&gt;
*In your .profile, set STELROOT like this:&lt;br /&gt;
 export STELROOT=&amp;quot;$HOME/stellarium&amp;quot;&lt;br /&gt;
*Optionally repeat the checkout process for the plugins with the URL:&lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/extmodules&lt;br /&gt;
&lt;br /&gt;
The result should be that when you start MSYS, you should see two sub-directories in your home directory:&lt;br /&gt;
 stellarium&lt;br /&gt;
 extmodules&lt;br /&gt;
And you should also have an environment variable STELROOT set which points at the full path of the stellarium directory.&lt;br /&gt;
&lt;br /&gt;
== External Libraries ==&lt;br /&gt;
&lt;br /&gt;
* boost : from http://www.boost.org/&lt;br /&gt;
* libintl: from http://gnuwin32.sourceforge.net/&lt;br /&gt;
* zlib: http://www.zlib.net&lt;br /&gt;
* SDL: http://www.libsdl.org/&lt;br /&gt;
* libpng: http://www.libpng.org/pub/png/libpng.html&lt;br /&gt;
* freetype: http://freetype.sourceforge.net/index2.html&lt;br /&gt;
* libjpeg: http://freshmeat.net/projects/libjpeg/&lt;br /&gt;
&lt;br /&gt;
Download the libraries and the development files (include the needed header-files), install packages and go on  ...&lt;br /&gt;
&lt;br /&gt;
Getting the source code : use '''SVN''&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-08-10T06:55:30Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with MinGW32 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, libiconv, Gettext-0.18.1.1-2 and libintl-0.18.1.1-2 in the correct order. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install it to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.6.8.19260-win32-svn-1.6.11.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.6.8.19260-x64-svn-1.6.11.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#[[Configuring Build Options|run CMake]]:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD #:WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds source later than svn 6052&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select and place an icon on the desktop.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;br /&gt;
&lt;br /&gt;
= Building with Microsoft Visual Studio 8.0 =&lt;br /&gt;
&lt;br /&gt;
'''NOTE: these instructions are quite out of date.'''&lt;br /&gt;
&lt;br /&gt;
After couple of weeks work I finally got the stellarium compiled and run using MS VisualStudio 8.0. MS C/C++ compiler is quite strict with the declarations of the variables and there is some differences with the functions that MS has/has not, but finally I got it work. A huge patch is posted to Fabien, waiting it to be approved ...&lt;br /&gt;
&lt;br /&gt;
== Use SVN to get the source code ==&lt;br /&gt;
*Install development tools as described above, including Tortoise SVN (requires reboot)&lt;br /&gt;
*Start MSYS.  This will create the directory&lt;br /&gt;
 C:\msys\1.0\home\&amp;lt;yourusername&amp;gt;&lt;br /&gt;
*Browse there with file explorer.&lt;br /&gt;
*Right click in the folder and select ''SVN Checkout'' from the popup menu&lt;br /&gt;
*In the ''URL of Repository'' edit box, enter the URL of the SVN repository, which is &lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/stellarium&lt;br /&gt;
*In your .profile, set STELROOT like this:&lt;br /&gt;
 export STELROOT=&amp;quot;$HOME/stellarium&amp;quot;&lt;br /&gt;
*Optionally repeat the checkout process for the plugins with the URL:&lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/extmodules&lt;br /&gt;
&lt;br /&gt;
The result should be that when you start MSYS, you should see two sub-directories in your home directory:&lt;br /&gt;
 stellarium&lt;br /&gt;
 extmodules&lt;br /&gt;
And you should also have an environment variable STELROOT set which points at the full path of the stellarium directory.&lt;br /&gt;
&lt;br /&gt;
== External Libraries ==&lt;br /&gt;
&lt;br /&gt;
* boost : from http://www.boost.org/&lt;br /&gt;
* libintl: from http://gnuwin32.sourceforge.net/&lt;br /&gt;
* zlib: http://www.zlib.net&lt;br /&gt;
* SDL: http://www.libsdl.org/&lt;br /&gt;
* libpng: http://www.libpng.org/pub/png/libpng.html&lt;br /&gt;
* freetype: http://freetype.sourceforge.net/index2.html&lt;br /&gt;
* libjpeg: http://freshmeat.net/projects/libjpeg/&lt;br /&gt;
&lt;br /&gt;
Download the libraries and the development files (include the needed header-files), install packages and go on  ...&lt;br /&gt;
&lt;br /&gt;
Getting the source code : use '''SVN''&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-10T06:44:08Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Making the Package */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an installation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-10T06:42:48Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 9: Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an intallation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-10T06:39:22Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Step 3: CMake */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
===Step 1: SVN client===&lt;br /&gt;
Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
===Step 2: Qt SDK===&lt;br /&gt;
At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 3: CMake===&lt;br /&gt;
Download cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
===Step 4: MinGW===&lt;br /&gt;
For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 5: Zlib===&lt;br /&gt;
zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 6: Folder for build===&lt;br /&gt;
Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
===Step 7: Fetch source code===&lt;br /&gt;
Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 8: Configure===&lt;br /&gt;
Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Step 9: Building===&lt;br /&gt;
If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.21/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an intallation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Configuring_Build_Options</id>
		<title>Configuring Build Options</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Configuring_Build_Options"/>
				<updated>2012-08-09T23:23:15Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document is to explain the functions of the CmakeLists.txt file which is used to generate the build environment and the write the instructions to the Cmakecache file.  The Cmakecache.txt file is then used as a menu for Cmake to generate the executeable file and libraries then prepare a package for distribution..  It is a universal file designed to be used with the three main operating systems of Windows, Apple and Linux&lt;br /&gt;
&lt;br /&gt;
==Configuring Build Options==&lt;br /&gt;
These are the options that can be user set and will be written to the cmakecache.txt file to personalise the software package. The default  file is generated by the cmakelist.txt and written to the build folder. It can be edited with a text editor at any time to make specific changes to the  compiling routine. &lt;br /&gt;
&lt;br /&gt;
Information contained in the cmakecache.txt file will be used to generate the cmake_install.cmake file that will be specific to the users system and set the install parameters for the package generation.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_BUILD_TYPE===&lt;br /&gt;
Possible values: None, Debug, GProf, Valgrind, Release, RelWithDebInfo, MinSizeRel.&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Debug'''&lt;br /&gt;
====Debug====&lt;br /&gt;
This option enables the debug mode - binary package includes debug characters; this mode is the default for developers.&lt;br /&gt;
&lt;br /&gt;
====GProf====&lt;br /&gt;
This option enables support for GNU gprof profiler - binary package includes debug characters for profiler; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Valgrind====&lt;br /&gt;
This option enables support for Valgring tool - binary package includes debug characters for memory debugging, memory leak detection, and profiling; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Release====&lt;br /&gt;
This option enables the release mode - binary package does not include debug characters; this mode is the default for users.&lt;br /&gt;
&lt;br /&gt;
====RelWithDebInfo====&lt;br /&gt;
This option enables the release mode - binary package with debug characters; this mode is for developers and users.&lt;br /&gt;
&lt;br /&gt;
====MinSizeRel====&lt;br /&gt;
This option is enabled in the release mode - binary package with minimized size of package.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_INSTALL_PREFIX===&lt;br /&gt;
This option sets a prefix for the installation of the binary package location. Used on Linux to set the location for the software installation, building from source code, the default location is ''/usr/local'' but if you want to install software elsewhere such as into ''/opt'' you need use ''CMAKE_INSTALL_PREFIX=/opt''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_C_COMPILER===&lt;br /&gt;
This option sets a custom path to C compiler. For example if you have installed GCC and Clang; and wish to use the  Clang compiler you need use ''CMAKE_C_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_CXX_COMPILER===&lt;br /&gt;
This option sets a custom path to the C++ compiler. For example; if you have installed GCC and Clang; to use the Clang compiler you need use ''CMAKE_CXX_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===OPTIMIZE_INTEL_ATOM===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enables optimization for Atom processors.&lt;br /&gt;
&lt;br /&gt;
===BUILD_FOR_MAEMO===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enables building Stellarium for Maemo devices and also enables optimization for ARM processors.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_NLS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activates translation with gettext.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SOUND===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option activates sound support.The default value is 0 because sound is not available on all platforms and may require 3rd party software.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPTING===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activates the scripting feature.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPT_CONSOLE===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activates the script edit console.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_STRATOSCRIPT_COMPAT===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable the StratoScript compatibility mode. If set to 1 many of the old *.sts scripts can be used.&lt;br /&gt;
&lt;br /&gt;
===RELEASE_BUILD===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option flags the build as an official release.&lt;br /&gt;
&lt;br /&gt;
===BZR_REVISION===&lt;br /&gt;
This option is used together with RELEASE_BUILD option and sets Bazaar's revision for package.&lt;br /&gt;
&lt;br /&gt;
===BUILD_STATIC_PLUGINS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that plugins should be compiled statically and linked to the main program. ''If this option has value '''1''' then for BUILD_DYNAMIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===BUILD_DYNAMIC_PLUGINS===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that plugins should be compiled dynamically. ''If this option has value '''1''' then for BUILD_STATIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===USE_PLUGIN_*===&lt;br /&gt;
This option is used to build the desired plugin from source. There will be one entry for each plugin being built. For example to build the Historical Supernovae plugin you need use ''USE_PLUGIN_SUPERNOVAE=1''.&lt;br /&gt;
&lt;br /&gt;
Examples of the current default settings;&lt;br /&gt;
&lt;br /&gt;
====*_HELLOSTELMODULE====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the HelloStelModule plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_ANGLEMEASURE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Angle Measure plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_COMPASSMARKS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Compass Marks plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SATELLITES====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Satellites plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TELESCOPECONTROL====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Telescope Control plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_LOGBOOK====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the LogBook plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_OCULARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Oculars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SVMT====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the SVMT plugin should be built. Note: special dependancies and source are required for this option&lt;br /&gt;
&lt;br /&gt;
====*_TEXTUSERINTERFACE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Text User Interface plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TIMEZONECONFIGURATION====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Time Zone Configuration plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_VIRGO====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the VirGO plugin should be built. Note: special dependancies and source are required for this option&lt;br /&gt;
&lt;br /&gt;
====*_SOLARSYSTEMEDITOR====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Solar System Editor plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SUPERNOVAE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Historical Supernovae plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_QUASARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Quasars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_PULSARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Pulsars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_EXOPLANETS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option defines that the Exoplanets plugin should be built.&lt;br /&gt;
&lt;br /&gt;
===OPENGL_MODE===&lt;br /&gt;
Possible values: Desktop, ES2&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
This option defines mode to supporting OpenGL version - OpenGL for desktops or OpenGL ES&lt;br /&gt;
&lt;br /&gt;
==Build Options==&lt;br /&gt;
&lt;br /&gt;
===install===&lt;br /&gt;
This option make installation of binaries and related files (installation of program).&lt;br /&gt;
&lt;br /&gt;
===test===&lt;br /&gt;
This option launched tests from test suite.&lt;br /&gt;
&lt;br /&gt;
===macosx_bundle===&lt;br /&gt;
This option make bundle package for Mac OS X.&lt;br /&gt;
&lt;br /&gt;
===package===&lt;br /&gt;
This option make package for Linux.&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: Customization]]&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Configuring_Build_Options</id>
		<title>Configuring Build Options</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Configuring_Build_Options"/>
				<updated>2012-08-09T23:09:45Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* CMAKE_CXX_COMPILER */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document is to explain the functions of the CmakeLists.txt file which is used to generate the build environment and the write the instructions to the Cmakecache file.  The Cmakecache.txt file is then used as a menu for Cmake to generate the executeable file and libraries then prepare a package for distribution..  It is a universal file designed to be used with the three main operating systems of Windows, Apple and Linux&lt;br /&gt;
&lt;br /&gt;
==Configuring Build Options==&lt;br /&gt;
These are the options that can be user set and will be written to the cmakecache.txt file to personalise the software package. The default  file is generated by the cmakelist.txt and written to the build folder. It can be edited with a text editor at any time to make specific changes to the  compiling routine. &lt;br /&gt;
&lt;br /&gt;
Information contained in the cmakecache.txt file will be used to generate the cmake_install.cmake file that will be specific to the users system and set the install parameters for the package generation.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_BUILD_TYPE===&lt;br /&gt;
Possible values: None, Debug, GProf, Valgrind, Release, RelWithDebInfo, MinSizeRel.&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Debug'''&lt;br /&gt;
====Debug====&lt;br /&gt;
This option enables the debug mode - binary package includes debug characters; this mode is the default for developers.&lt;br /&gt;
&lt;br /&gt;
====GProf====&lt;br /&gt;
This option enables support for GNU gprof profiler - binary package includes debug characters for profiler; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Valgrind====&lt;br /&gt;
This option enables support for Valgring tool - binary package includes debug characters for memory debugging, memory leak detection, and profiling; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Release====&lt;br /&gt;
This option enables the release mode - binary package does not include debug characters; this mode is the default for users.&lt;br /&gt;
&lt;br /&gt;
====RelWithDebInfo====&lt;br /&gt;
This option enables the release mode - binary package with debug characters; this mode is for developers and users.&lt;br /&gt;
&lt;br /&gt;
====MinSizeRel====&lt;br /&gt;
This option is enabled in the release mode - binary package with minimized size of package.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_INSTALL_PREFIX===&lt;br /&gt;
This option sets a prefix for the installation of the binary package location. Used on Linux to set the location for the software installation, building from source code, the default location is ''/usr/local'' but if you want to install software elsewhere such as into ''/opt'' you need use ''CMAKE_INSTALL_PREFIX=/opt''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_C_COMPILER===&lt;br /&gt;
This option sets a custom path to C compiler. For example if you have installed GCC and Clang; and wish to use the  Clang compiler you need use ''CMAKE_C_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_CXX_COMPILER===&lt;br /&gt;
This option seta a custom path to the C++ compiler. For example; if you have installed GCC and Clang; to use the Clang compiler you need use ''CMAKE_CXX_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===OPTIMIZE_INTEL_ATOM===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable optimization for Atom processors.&lt;br /&gt;
&lt;br /&gt;
===BUILD_FOR_MAEMO===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable building Stellarium for Maemo devices and enable optimization for ARM processors.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_NLS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate translation with gettext.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SOUND===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option activate sound support.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPTING===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate scripting feature.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPT_CONSOLE===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate the script edit console.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_STRATOSCRIPT_COMPAT===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable the StratoScript compatibility mode.&lt;br /&gt;
&lt;br /&gt;
===RELEASE_BUILD===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option flag this build as an official release.&lt;br /&gt;
&lt;br /&gt;
===BZR_REVISION===&lt;br /&gt;
This option used together with RELEASE_BUILD option and set Bazaar's revision for package.&lt;br /&gt;
&lt;br /&gt;
===BUILD_STATIC_PLUGINS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that plugins should be compiled statically and linked to the main program. ''If this option has value '''1''' then for BUILD_DYNAMIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===BUILD_DYNAMIC_PLUGINS===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that plugins should be compiled dynamically. ''If this option has value '''1''' then for BUILD_STATIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===USE_PLUGIN_*===&lt;br /&gt;
Few similar options to enable each plugin was built. For example to built Historical Supernovae plugin you need use ''USE_PLUGIN_SUPERNOVAE=1''.&lt;br /&gt;
&lt;br /&gt;
====*_HELLOSTELMODULE====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the HelloStelModule plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_ANGLEMEASURE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Angle Measure plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_COMPASSMARKS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Compass Marks plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SATELLITES====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Satellites plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TELESCOPECONTROL====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Telescope Control plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_LOGBOOK====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the LogBook plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_OCULARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Oculars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SVMT====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the SVMT plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TEXTUSERINTERFACE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Text User Interface plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TIMEZONECONFIGURATION====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Time Zone Configuration plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_VIRGO====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the VirGO plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SOLARSYSTEMEDITOR====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Solar System Editor plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SUPERNOVAE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Historical Supernovae plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_QUASARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Quasars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_PULSARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Pulsars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_EXOPLANETS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Exoplanets plugin should be built.&lt;br /&gt;
&lt;br /&gt;
===OPENGL_MODE===&lt;br /&gt;
Possible values: Desktop, ES2&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
This option define mode to supporting OpenGL version - OpenGL for desktops or OpenGL ES&lt;br /&gt;
&lt;br /&gt;
==Build Options==&lt;br /&gt;
&lt;br /&gt;
===install===&lt;br /&gt;
This option make installation of binaries and related files (installation of program).&lt;br /&gt;
&lt;br /&gt;
===test===&lt;br /&gt;
This option launched tests from test suite.&lt;br /&gt;
&lt;br /&gt;
===macosx_bundle===&lt;br /&gt;
This option make bundle package for Mac OS X.&lt;br /&gt;
&lt;br /&gt;
===package===&lt;br /&gt;
This option make package for Linux.&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: Customization]]&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Configuring_Build_Options</id>
		<title>Configuring Build Options</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Configuring_Build_Options"/>
				<updated>2012-08-09T23:07:48Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* CMAKE_C_COMPILER */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document is to explain the functions of the CmakeLists.txt file which is used to generate the build environment and the write the instructions to the Cmakecache file.  The Cmakecache.txt file is then used as a menu for Cmake to generate the executeable file and libraries then prepare a package for distribution..  It is a universal file designed to be used with the three main operating systems of Windows, Apple and Linux&lt;br /&gt;
&lt;br /&gt;
==Configuring Build Options==&lt;br /&gt;
These are the options that can be user set and will be written to the cmakecache.txt file to personalise the software package. The default  file is generated by the cmakelist.txt and written to the build folder. It can be edited with a text editor at any time to make specific changes to the  compiling routine. &lt;br /&gt;
&lt;br /&gt;
Information contained in the cmakecache.txt file will be used to generate the cmake_install.cmake file that will be specific to the users system and set the install parameters for the package generation.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_BUILD_TYPE===&lt;br /&gt;
Possible values: None, Debug, GProf, Valgrind, Release, RelWithDebInfo, MinSizeRel.&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Debug'''&lt;br /&gt;
====Debug====&lt;br /&gt;
This option enables the debug mode - binary package includes debug characters; this mode is the default for developers.&lt;br /&gt;
&lt;br /&gt;
====GProf====&lt;br /&gt;
This option enables support for GNU gprof profiler - binary package includes debug characters for profiler; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Valgrind====&lt;br /&gt;
This option enables support for Valgring tool - binary package includes debug characters for memory debugging, memory leak detection, and profiling; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Release====&lt;br /&gt;
This option enables the release mode - binary package does not include debug characters; this mode is the default for users.&lt;br /&gt;
&lt;br /&gt;
====RelWithDebInfo====&lt;br /&gt;
This option enables the release mode - binary package with debug characters; this mode is for developers and users.&lt;br /&gt;
&lt;br /&gt;
====MinSizeRel====&lt;br /&gt;
This option is enabled in the release mode - binary package with minimized size of package.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_INSTALL_PREFIX===&lt;br /&gt;
This option sets a prefix for the installation of the binary package location. Used on Linux to set the location for the software installation, building from source code, the default location is ''/usr/local'' but if you want to install software elsewhere such as into ''/opt'' you need use ''CMAKE_INSTALL_PREFIX=/opt''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_C_COMPILER===&lt;br /&gt;
This option sets a custom path to C compiler. For example if you have installed GCC and Clang; and wish to use the  Clang compiler you need use ''CMAKE_C_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_CXX_COMPILER===&lt;br /&gt;
This option set custom path to C++ compiler. As example you have installed GCC and Clang; For using Clang compiler you need use ''CMAKE_CXX_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===OPTIMIZE_INTEL_ATOM===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable optimization for Atom processors.&lt;br /&gt;
&lt;br /&gt;
===BUILD_FOR_MAEMO===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable building Stellarium for Maemo devices and enable optimization for ARM processors.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_NLS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate translation with gettext.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SOUND===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option activate sound support.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPTING===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate scripting feature.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPT_CONSOLE===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate the script edit console.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_STRATOSCRIPT_COMPAT===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable the StratoScript compatibility mode.&lt;br /&gt;
&lt;br /&gt;
===RELEASE_BUILD===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option flag this build as an official release.&lt;br /&gt;
&lt;br /&gt;
===BZR_REVISION===&lt;br /&gt;
This option used together with RELEASE_BUILD option and set Bazaar's revision for package.&lt;br /&gt;
&lt;br /&gt;
===BUILD_STATIC_PLUGINS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that plugins should be compiled statically and linked to the main program. ''If this option has value '''1''' then for BUILD_DYNAMIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===BUILD_DYNAMIC_PLUGINS===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that plugins should be compiled dynamically. ''If this option has value '''1''' then for BUILD_STATIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===USE_PLUGIN_*===&lt;br /&gt;
Few similar options to enable each plugin was built. For example to built Historical Supernovae plugin you need use ''USE_PLUGIN_SUPERNOVAE=1''.&lt;br /&gt;
&lt;br /&gt;
====*_HELLOSTELMODULE====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the HelloStelModule plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_ANGLEMEASURE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Angle Measure plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_COMPASSMARKS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Compass Marks plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SATELLITES====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Satellites plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TELESCOPECONTROL====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Telescope Control plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_LOGBOOK====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the LogBook plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_OCULARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Oculars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SVMT====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the SVMT plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TEXTUSERINTERFACE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Text User Interface plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TIMEZONECONFIGURATION====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Time Zone Configuration plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_VIRGO====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the VirGO plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SOLARSYSTEMEDITOR====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Solar System Editor plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SUPERNOVAE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Historical Supernovae plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_QUASARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Quasars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_PULSARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Pulsars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_EXOPLANETS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Exoplanets plugin should be built.&lt;br /&gt;
&lt;br /&gt;
===OPENGL_MODE===&lt;br /&gt;
Possible values: Desktop, ES2&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
This option define mode to supporting OpenGL version - OpenGL for desktops or OpenGL ES&lt;br /&gt;
&lt;br /&gt;
==Build Options==&lt;br /&gt;
&lt;br /&gt;
===install===&lt;br /&gt;
This option make installation of binaries and related files (installation of program).&lt;br /&gt;
&lt;br /&gt;
===test===&lt;br /&gt;
This option launched tests from test suite.&lt;br /&gt;
&lt;br /&gt;
===macosx_bundle===&lt;br /&gt;
This option make bundle package for Mac OS X.&lt;br /&gt;
&lt;br /&gt;
===package===&lt;br /&gt;
This option make package for Linux.&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: Customization]]&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Configuring_Build_Options</id>
		<title>Configuring Build Options</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Configuring_Build_Options"/>
				<updated>2012-08-09T23:05:17Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* CMAKE_INSTALL_PREFIX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document is to explain the functions of the CmakeLists.txt file which is used to generate the build environment and the write the instructions to the Cmakecache file.  The Cmakecache.txt file is then used as a menu for Cmake to generate the executeable file and libraries then prepare a package for distribution..  It is a universal file designed to be used with the three main operating systems of Windows, Apple and Linux&lt;br /&gt;
&lt;br /&gt;
==Configuring Build Options==&lt;br /&gt;
These are the options that can be user set and will be written to the cmakecache.txt file to personalise the software package. The default  file is generated by the cmakelist.txt and written to the build folder. It can be edited with a text editor at any time to make specific changes to the  compiling routine. &lt;br /&gt;
&lt;br /&gt;
Information contained in the cmakecache.txt file will be used to generate the cmake_install.cmake file that will be specific to the users system and set the install parameters for the package generation.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_BUILD_TYPE===&lt;br /&gt;
Possible values: None, Debug, GProf, Valgrind, Release, RelWithDebInfo, MinSizeRel.&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Debug'''&lt;br /&gt;
====Debug====&lt;br /&gt;
This option enables the debug mode - binary package includes debug characters; this mode is the default for developers.&lt;br /&gt;
&lt;br /&gt;
====GProf====&lt;br /&gt;
This option enables support for GNU gprof profiler - binary package includes debug characters for profiler; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Valgrind====&lt;br /&gt;
This option enables support for Valgring tool - binary package includes debug characters for memory debugging, memory leak detection, and profiling; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Release====&lt;br /&gt;
This option enables the release mode - binary package does not include debug characters; this mode is the default for users.&lt;br /&gt;
&lt;br /&gt;
====RelWithDebInfo====&lt;br /&gt;
This option enables the release mode - binary package with debug characters; this mode is for developers and users.&lt;br /&gt;
&lt;br /&gt;
====MinSizeRel====&lt;br /&gt;
This option is enabled in the release mode - binary package with minimized size of package.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_INSTALL_PREFIX===&lt;br /&gt;
This option sets a prefix for the installation of the binary package location. Used on Linux to set the location for the software installation, building from source code, the default location is ''/usr/local'' but if you want to install software elsewhere such as into ''/opt'' you need use ''CMAKE_INSTALL_PREFIX=/opt''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_C_COMPILER===&lt;br /&gt;
This option set custom path to C compiler. As example you have installed GCC and Clang; For using Clang compiler you need use ''CMAKE_C_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_CXX_COMPILER===&lt;br /&gt;
This option set custom path to C++ compiler. As example you have installed GCC and Clang; For using Clang compiler you need use ''CMAKE_CXX_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===OPTIMIZE_INTEL_ATOM===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable optimization for Atom processors.&lt;br /&gt;
&lt;br /&gt;
===BUILD_FOR_MAEMO===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable building Stellarium for Maemo devices and enable optimization for ARM processors.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_NLS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate translation with gettext.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SOUND===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option activate sound support.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPTING===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate scripting feature.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPT_CONSOLE===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate the script edit console.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_STRATOSCRIPT_COMPAT===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable the StratoScript compatibility mode.&lt;br /&gt;
&lt;br /&gt;
===RELEASE_BUILD===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option flag this build as an official release.&lt;br /&gt;
&lt;br /&gt;
===BZR_REVISION===&lt;br /&gt;
This option used together with RELEASE_BUILD option and set Bazaar's revision for package.&lt;br /&gt;
&lt;br /&gt;
===BUILD_STATIC_PLUGINS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that plugins should be compiled statically and linked to the main program. ''If this option has value '''1''' then for BUILD_DYNAMIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===BUILD_DYNAMIC_PLUGINS===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that plugins should be compiled dynamically. ''If this option has value '''1''' then for BUILD_STATIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===USE_PLUGIN_*===&lt;br /&gt;
Few similar options to enable each plugin was built. For example to built Historical Supernovae plugin you need use ''USE_PLUGIN_SUPERNOVAE=1''.&lt;br /&gt;
&lt;br /&gt;
====*_HELLOSTELMODULE====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the HelloStelModule plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_ANGLEMEASURE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Angle Measure plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_COMPASSMARKS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Compass Marks plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SATELLITES====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Satellites plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TELESCOPECONTROL====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Telescope Control plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_LOGBOOK====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the LogBook plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_OCULARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Oculars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SVMT====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the SVMT plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TEXTUSERINTERFACE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Text User Interface plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TIMEZONECONFIGURATION====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Time Zone Configuration plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_VIRGO====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the VirGO plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SOLARSYSTEMEDITOR====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Solar System Editor plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SUPERNOVAE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Historical Supernovae plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_QUASARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Quasars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_PULSARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Pulsars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_EXOPLANETS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Exoplanets plugin should be built.&lt;br /&gt;
&lt;br /&gt;
===OPENGL_MODE===&lt;br /&gt;
Possible values: Desktop, ES2&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
This option define mode to supporting OpenGL version - OpenGL for desktops or OpenGL ES&lt;br /&gt;
&lt;br /&gt;
==Build Options==&lt;br /&gt;
&lt;br /&gt;
===install===&lt;br /&gt;
This option make installation of binaries and related files (installation of program).&lt;br /&gt;
&lt;br /&gt;
===test===&lt;br /&gt;
This option launched tests from test suite.&lt;br /&gt;
&lt;br /&gt;
===macosx_bundle===&lt;br /&gt;
This option make bundle package for Mac OS X.&lt;br /&gt;
&lt;br /&gt;
===package===&lt;br /&gt;
This option make package for Linux.&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: Customization]]&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Configuring_Build_Options</id>
		<title>Configuring Build Options</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Configuring_Build_Options"/>
				<updated>2012-08-09T22:57:11Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Configuring Build Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document is to explain the functions of the CmakeLists.txt file which is used to generate the build environment and the write the instructions to the Cmakecache file.  The Cmakecache.txt file is then used as a menu for Cmake to generate the executeable file and libraries then prepare a package for distribution..  It is a universal file designed to be used with the three main operating systems of Windows, Apple and Linux&lt;br /&gt;
&lt;br /&gt;
==Configuring Build Options==&lt;br /&gt;
These are the options that can be user set and will be written to the cmakecache.txt file to personalise the software package. The default  file is generated by the cmakelist.txt and written to the build folder. It can be edited with a text editor at any time to make specific changes to the  compiling routine. &lt;br /&gt;
&lt;br /&gt;
Information contained in the cmakecache.txt file will be used to generate the cmake_install.cmake file that will be specific to the users system and set the install parameters for the package generation.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_BUILD_TYPE===&lt;br /&gt;
Possible values: None, Debug, GProf, Valgrind, Release, RelWithDebInfo, MinSizeRel.&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Debug'''&lt;br /&gt;
====Debug====&lt;br /&gt;
This option enables the debug mode - binary package includes debug characters; this mode is the default for developers.&lt;br /&gt;
&lt;br /&gt;
====GProf====&lt;br /&gt;
This option enables support for GNU gprof profiler - binary package includes debug characters for profiler; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Valgrind====&lt;br /&gt;
This option enables support for Valgring tool - binary package includes debug characters for memory debugging, memory leak detection, and profiling; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Release====&lt;br /&gt;
This option enables the release mode - binary package does not include debug characters; this mode is the default for users.&lt;br /&gt;
&lt;br /&gt;
====RelWithDebInfo====&lt;br /&gt;
This option enables the release mode - binary package with debug characters; this mode is for developers and users.&lt;br /&gt;
&lt;br /&gt;
====MinSizeRel====&lt;br /&gt;
This option is enabled in the release mode - binary package with minimized size of package.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_INSTALL_PREFIX===&lt;br /&gt;
This option enable prefix for install of binary package. On Linux default location for software, building from source code, is ''/usr/local'' but if you want install software into ''/opt'' you need use ''CMAKE_INSTALL_PREFIX=/opt''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_C_COMPILER===&lt;br /&gt;
This option set custom path to C compiler. As example you have installed GCC and Clang; For using Clang compiler you need use ''CMAKE_C_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_CXX_COMPILER===&lt;br /&gt;
This option set custom path to C++ compiler. As example you have installed GCC and Clang; For using Clang compiler you need use ''CMAKE_CXX_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===OPTIMIZE_INTEL_ATOM===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable optimization for Atom processors.&lt;br /&gt;
&lt;br /&gt;
===BUILD_FOR_MAEMO===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable building Stellarium for Maemo devices and enable optimization for ARM processors.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_NLS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate translation with gettext.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SOUND===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option activate sound support.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPTING===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate scripting feature.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPT_CONSOLE===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate the script edit console.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_STRATOSCRIPT_COMPAT===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable the StratoScript compatibility mode.&lt;br /&gt;
&lt;br /&gt;
===RELEASE_BUILD===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option flag this build as an official release.&lt;br /&gt;
&lt;br /&gt;
===BZR_REVISION===&lt;br /&gt;
This option used together with RELEASE_BUILD option and set Bazaar's revision for package.&lt;br /&gt;
&lt;br /&gt;
===BUILD_STATIC_PLUGINS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that plugins should be compiled statically and linked to the main program. ''If this option has value '''1''' then for BUILD_DYNAMIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===BUILD_DYNAMIC_PLUGINS===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that plugins should be compiled dynamically. ''If this option has value '''1''' then for BUILD_STATIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===USE_PLUGIN_*===&lt;br /&gt;
Few similar options to enable each plugin was built. For example to built Historical Supernovae plugin you need use ''USE_PLUGIN_SUPERNOVAE=1''.&lt;br /&gt;
&lt;br /&gt;
====*_HELLOSTELMODULE====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the HelloStelModule plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_ANGLEMEASURE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Angle Measure plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_COMPASSMARKS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Compass Marks plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SATELLITES====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Satellites plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TELESCOPECONTROL====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Telescope Control plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_LOGBOOK====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the LogBook plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_OCULARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Oculars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SVMT====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the SVMT plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TEXTUSERINTERFACE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Text User Interface plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TIMEZONECONFIGURATION====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Time Zone Configuration plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_VIRGO====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the VirGO plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SOLARSYSTEMEDITOR====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Solar System Editor plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SUPERNOVAE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Historical Supernovae plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_QUASARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Quasars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_PULSARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Pulsars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_EXOPLANETS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Exoplanets plugin should be built.&lt;br /&gt;
&lt;br /&gt;
===OPENGL_MODE===&lt;br /&gt;
Possible values: Desktop, ES2&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
This option define mode to supporting OpenGL version - OpenGL for desktops or OpenGL ES&lt;br /&gt;
&lt;br /&gt;
==Build Options==&lt;br /&gt;
&lt;br /&gt;
===install===&lt;br /&gt;
This option make installation of binaries and related files (installation of program).&lt;br /&gt;
&lt;br /&gt;
===test===&lt;br /&gt;
This option launched tests from test suite.&lt;br /&gt;
&lt;br /&gt;
===macosx_bundle===&lt;br /&gt;
This option make bundle package for Mac OS X.&lt;br /&gt;
&lt;br /&gt;
===package===&lt;br /&gt;
This option make package for Linux.&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: Customization]]&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Configuring_Build_Options</id>
		<title>Configuring Build Options</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Configuring_Build_Options"/>
				<updated>2012-08-09T22:52:10Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document is to explain the functions of the CmakeLists.txt file which is used to generate the build environment and the write the instructions to the Cmakecache file.  The Cmakecache.txt file is then used as a menu for Cmake to generate the executeable file and libraries then prepare a package for distribution..  It is a universal file designed to be used with the three main operating systems of Windows, Apple and Linux&lt;br /&gt;
&lt;br /&gt;
==Configuring Build Options==&lt;br /&gt;
===CMAKE_BUILD_TYPE===&lt;br /&gt;
Possible values: None, Debug, GProf, Valgrind, Release, RelWithDebInfo, MinSizeRel.&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Debug'''&lt;br /&gt;
====Debug====&lt;br /&gt;
This option is enable the debug mode - binary package includes debug characters; this mode is default for developers.&lt;br /&gt;
&lt;br /&gt;
====GProf====&lt;br /&gt;
This option is enable support for GNU gprof profiler - binary package includes debug characters for profiler; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Valgrind====&lt;br /&gt;
This option is enable support for Valgring tool - binary package includes debug characters for memory debugging, memory leak detection, and profiling; this mode is for developers.&lt;br /&gt;
&lt;br /&gt;
====Release====&lt;br /&gt;
This option is enable the release mode - binary package not include debug characters; this mode is default for users.&lt;br /&gt;
&lt;br /&gt;
====RelWithDebInfo====&lt;br /&gt;
This option is enable the release mode - binary package with debug characters; this mode is for developers and users.&lt;br /&gt;
&lt;br /&gt;
====MinSizeRel====&lt;br /&gt;
This option is enable the release mode - binary package with minimized size of package.&lt;br /&gt;
&lt;br /&gt;
===CMAKE_INSTALL_PREFIX===&lt;br /&gt;
This option enable prefix for install of binary package. On Linux default location for software, building from source code, is ''/usr/local'' but if you want install software into ''/opt'' you need use ''CMAKE_INSTALL_PREFIX=/opt''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_C_COMPILER===&lt;br /&gt;
This option set custom path to C compiler. As example you have installed GCC and Clang; For using Clang compiler you need use ''CMAKE_C_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===CMAKE_CXX_COMPILER===&lt;br /&gt;
This option set custom path to C++ compiler. As example you have installed GCC and Clang; For using Clang compiler you need use ''CMAKE_CXX_COMPILER=/usr/bin/clang''&lt;br /&gt;
&lt;br /&gt;
===OPTIMIZE_INTEL_ATOM===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable optimization for Atom processors.&lt;br /&gt;
&lt;br /&gt;
===BUILD_FOR_MAEMO===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable building Stellarium for Maemo devices and enable optimization for ARM processors.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_NLS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate translation with gettext.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SOUND===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option activate sound support.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPTING===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate scripting feature.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_SCRIPT_CONSOLE===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option activate the script edit console.&lt;br /&gt;
&lt;br /&gt;
===ENABLE_STRATOSCRIPT_COMPAT===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option enable the StratoScript compatibility mode.&lt;br /&gt;
&lt;br /&gt;
===RELEASE_BUILD===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option flag this build as an official release.&lt;br /&gt;
&lt;br /&gt;
===BZR_REVISION===&lt;br /&gt;
This option used together with RELEASE_BUILD option and set Bazaar's revision for package.&lt;br /&gt;
&lt;br /&gt;
===BUILD_STATIC_PLUGINS===&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that plugins should be compiled statically and linked to the main program. ''If this option has value '''1''' then for BUILD_DYNAMIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===BUILD_DYNAMIC_PLUGINS===&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that plugins should be compiled dynamically. ''If this option has value '''1''' then for BUILD_STATIC_PLUGINS should be value '''0'''.''&lt;br /&gt;
&lt;br /&gt;
===USE_PLUGIN_*===&lt;br /&gt;
Few similar options to enable each plugin was built. For example to built Historical Supernovae plugin you need use ''USE_PLUGIN_SUPERNOVAE=1''.&lt;br /&gt;
&lt;br /&gt;
====*_HELLOSTELMODULE====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the HelloStelModule plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_ANGLEMEASURE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Angle Measure plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_COMPASSMARKS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Compass Marks plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SATELLITES====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Satellites plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TELESCOPECONTROL====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Telescope Control plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_LOGBOOK====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the LogBook plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_OCULARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Oculars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SVMT====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the SVMT plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TEXTUSERINTERFACE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Text User Interface plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_TIMEZONECONFIGURATION====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Time Zone Configuration plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_VIRGO====&lt;br /&gt;
''Default value'': '''0'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the VirGO plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SOLARSYSTEMEDITOR====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Solar System Editor plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_SUPERNOVAE====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Historical Supernovae plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_QUASARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Quasars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_PULSARS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Pulsars plugin should be built.&lt;br /&gt;
&lt;br /&gt;
====*_EXOPLANETS====&lt;br /&gt;
''Default value'': '''1'''.&lt;br /&gt;
&lt;br /&gt;
This option define that the Exoplanets plugin should be built.&lt;br /&gt;
&lt;br /&gt;
===OPENGL_MODE===&lt;br /&gt;
Possible values: Desktop, ES2&lt;br /&gt;
&lt;br /&gt;
''Default value'': '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
This option define mode to supporting OpenGL version - OpenGL for desktops or OpenGL ES&lt;br /&gt;
&lt;br /&gt;
==Build Options==&lt;br /&gt;
&lt;br /&gt;
===install===&lt;br /&gt;
This option make installation of binaries and related files (installation of program).&lt;br /&gt;
&lt;br /&gt;
===test===&lt;br /&gt;
This option launched tests from test suite.&lt;br /&gt;
&lt;br /&gt;
===macosx_bundle===&lt;br /&gt;
This option make bundle package for Mac OS X.&lt;br /&gt;
&lt;br /&gt;
===package===&lt;br /&gt;
This option make package for Linux.&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: Customization]]&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-08T00:29:13Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Making the Package */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
1- Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
2- At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Download and install cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
4- For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
7- Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8- Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9- If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.21/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an intallation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.11.4-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-08T00:24:37Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with Qt Creator (Prefered method) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
1- Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
2- At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Download and install cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
4- For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
7- Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8- Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9- If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.8.2 and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.8.2/MinGW/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libstdc++.dll.... from qt/4.8.2/mingw/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.8.21/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.8.2/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an intallation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.10.5-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-08T00:17:14Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with Qt Creator (Prefered method) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
1- Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
2- At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Download and install cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
4- For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.8.2 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;C:\Qt\4.8.2\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.8.2\mingw\lib;C:\Qt\4.8.2\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
Gettext, libintl and libiconv will be installed as part of the new MinGW environment.so you will only need zlib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.8.2\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
7- Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8- Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9- If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.7.1\qt\bin and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.7.0/qt/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an intallation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.10.5-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-08T00:11:50Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with Qt Creator (Prefered method) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
1- Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
2- At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Download and install cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
4- For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.7.1 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.7.1;C:\Qt\4.7.1\qt\bin;C:\Qt\4.7.1\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.7.1\mingw\lib;C:\Qt\4.7.1\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.1- Gettext: Download the &amp;quot;Complete package, except sources&amp;quot;&lt;br /&gt;
installer from http://gnuwin32.sourceforge.net/packages/gettext.htm&lt;br /&gt;
and install it in C:\Qt\4.7.1\mingw\ It will install everything we&lt;br /&gt;
need in the mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.2- libIconv: Download the &amp;quot;Complete package, except sources&amp;quot;&lt;br /&gt;
installer from http://gnuwin32.sourceforge.net/packages/libiconv.htm&lt;br /&gt;
and install it in C:\Qt\4.7.1\mingw\ It will install everything we&lt;br /&gt;
need in the mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.3- zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.7.1\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
7- Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8- Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9- If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.7.1\qt\bin and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.7.0/qt/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an intallation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.10.5-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-08T00:09:46Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with Qt Creator (Prefered method) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
1- Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
2- At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Download and install cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
4- For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.7.1 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.7.1;C:\Qt\4.7.1\qt\bin;C:\Qt\4.7.1\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.7.1\mingw\lib;C:\Qt\4.7.1\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.1- Gettext: Download the &amp;quot;Complete package, except sources&amp;quot;&lt;br /&gt;
installer from http://gnuwin32.sourceforge.net/packages/gettext.htm&lt;br /&gt;
and install it in C:\Qt\4.7.1\mingw\ It will install everything we&lt;br /&gt;
need in the mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.2- libIconv: Download the &amp;quot;Complete package, except sources&amp;quot;&lt;br /&gt;
installer from http://gnuwin32.sourceforge.net/packages/libiconv.htm&lt;br /&gt;
and install it in C:\Qt\4.7.1\mingw\ It will install everything we&lt;br /&gt;
need in the mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.3- zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.7.1\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
7- Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8- Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9- If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.7.1\qt\bin and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.7.0/qt/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an intallation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.10.5-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-08T00:06:09Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with Qt Creator (Prefered method) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
1- Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
2- At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually. Download this for installation after MinGW is installed.&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys &lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01 &lt;br /&gt;
&lt;br /&gt;
3- Download and install cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
4- For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.7.1 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.7.1;C:\Qt\4.7.1\qt\bin;C:\Qt\4.7.1\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.7.1\mingw\lib;C:\Qt\4.7.1\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.1- Gettext: Download the &amp;quot;Complete package, except sources&amp;quot;&lt;br /&gt;
installer from http://gnuwin32.sourceforge.net/packages/gettext.htm&lt;br /&gt;
and install it in C:\Qt\4.7.1\mingw\ It will install everything we&lt;br /&gt;
need in the mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.2- libIconv: Download the &amp;quot;Complete package, except sources&amp;quot;&lt;br /&gt;
installer from http://gnuwin32.sourceforge.net/packages/libiconv.htm&lt;br /&gt;
and install it in C:\Qt\4.7.1\mingw\ It will install everything we&lt;br /&gt;
need in the mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.3- zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.7.1\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
7- Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8- Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9- If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.7.1\qt\bin and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.7.0/qt/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an intallation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.10.5-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-07T23:59:49Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with Qt Creator (Prefered method) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
1- Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
2- At the moment Qt SDK does not contain the latest  versions of Qt 4.8.2 for windows, MinGW or Qt creator so it will be necessary to obtain them and install them individually Download and install the latest version of Qt  libraries&lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from http://qt.nokia.com . Remove any earlier version first.&lt;br /&gt;
 &lt;br /&gt;
Next we will need the version of MinGW that contains Gettext and libintl versions 0.18.1.1-2. This will need to be built from the file:&lt;br /&gt;
&lt;br /&gt;
  mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
Obtained from:  &lt;br /&gt;
&lt;br /&gt;
  https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys &lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This &lt;br /&gt;
&lt;br /&gt;
In the select components menu MinGW compile suite and the C compiler are already ticked. Add ticks to C++ compiler and the last item MinGW Developer tool kit. &lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys &lt;br /&gt;
&lt;br /&gt;
Next we need a copy of Qtcreator, again obtained from  http://qt.nokia.com and installed in Qt\4.8.2. Put the new MinGW here also to conform with previous builds.&lt;br /&gt;
&lt;br /&gt;
Now we can  install  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB) into C:\Qt\4.8.2\Qt rather than the default location of C:\Qt\2010.01 &lt;br /&gt;
&lt;br /&gt;
3- Download and install cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
4- For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.7.1 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.7.1;C:\Qt\4.7.1\qt\bin;C:\Qt\4.7.1\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.7.1\mingw\lib;C:\Qt\4.7.1\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.1- Gettext: Download the &amp;quot;Complete package, except sources&amp;quot;&lt;br /&gt;
installer from http://gnuwin32.sourceforge.net/packages/gettext.htm&lt;br /&gt;
and install it in C:\Qt\4.7.1\mingw\ It will install everything we&lt;br /&gt;
need in the mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.2- libIconv: Download the &amp;quot;Complete package, except sources&amp;quot;&lt;br /&gt;
installer from http://gnuwin32.sourceforge.net/packages/libiconv.htm&lt;br /&gt;
and install it in C:\Qt\4.7.1\mingw\ It will install everything we&lt;br /&gt;
need in the mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.3- zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.7.1\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
7- Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8- Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9- If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.7.1\qt\bin and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.7.0/qt/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an intallation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.10.5-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Windows_Build_Instructions</id>
		<title>Windows Build Instructions</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Windows_Build_Instructions"/>
				<updated>2012-08-07T23:53:19Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building with Qt Creator (Prefered method) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to compile the development version of Stellarium on WinXP. The easiest method is to use QtCreator as described in this page. However it is also possible to compile using MSYS or MS Visual C++. See [[CompileWithMSYS]] and [[CompileWithVisualCpp]].&lt;br /&gt;
&lt;br /&gt;
For 64-bit builds see [[CompileWithMinGW-w64]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Building with Qt Creator (Prefered method) ==&lt;br /&gt;
&lt;br /&gt;
Note: This is a patched updated method to allow building from stellarium build 5492&lt;br /&gt;
&lt;br /&gt;
Stellarium can be built in Windows XP as below. If you use Vista 32 bit or Windows 7 32 bit. The procedure should be the same. However I have tried Vista home basic and Qt creator does not work there because it needs cwctype declared. Msys compiling works OK in Vista home. If you have the 64 bit version it will be necessary to install the Virtual XP version from Microsoft (470MB download) and the virtual computer interface from Microsoft or VMware. &lt;br /&gt;
&lt;br /&gt;
Note : I've tested compiling Stellarium with Qt Creator on windows seven and it appears to work fine.&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/win...s-xp-mode.aspx&lt;br /&gt;
&lt;br /&gt;
http://www.microsoft.com/windows/vir.../download.aspx&lt;br /&gt;
&lt;br /&gt;
The virtual XP program will then need to be fully set up as a complete separate virtual XP installation with all the below dependancies including the environment variables. When Stellarium is compiled a package can be made that can be installed in the Program Files (x86)of Windows 7 64 bit (or anywhere else you fancy). Only tested on Windows 7 64 bit ultimate where it runs without problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I upgraded my development environment on windows (XP), and decided to&lt;br /&gt;
start from scratch, and write what I do. I managed to compile and run&lt;br /&gt;
Stellarium pretty quickly *without using the windows command line or&lt;br /&gt;
msys* by following these steps. &lt;br /&gt;
&lt;br /&gt;
Go to the [[Bzr checkout|Bazaar checkout instructions]] first.&lt;br /&gt;
&lt;br /&gt;
1- Install a SVN command line client: CollabNet Subversion&lt;br /&gt;
Command-Line Client works fine.&lt;br /&gt;
To get this you will need to register and download &lt;br /&gt;
Collabnetsubversion-server-1.6.9-1.win32.exe from&lt;br /&gt;
http://www.collab.net (subversion).&lt;br /&gt;
Run this and install it in your preferred location or use the default&lt;br /&gt;
&lt;br /&gt;
2- Download and install the latest version of Qt SDK. Current version 2010.05 (4.7.1) SDK (includes Qt libraries,  Mingw, gdb, Qt Creator) from http://qt.nokia.com and install it.  &lt;br /&gt;
Remove any earlier version first&lt;br /&gt;
&lt;br /&gt;
I installed it to C:\Qt\4.7.1 rather than the default location of C:\Qt\2010.05&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Download and install cmake 2.8 from http://www.cmake.org&lt;br /&gt;
and install it. Remove any earlier versions first&lt;br /&gt;
&lt;br /&gt;
4- For Qt Creator/cmake to find the mingw environment you now need to&lt;br /&gt;
add some directories to your path. Assuming you installed everything&lt;br /&gt;
in the location C:\Qt\4.7.1 you should add in your path:&lt;br /&gt;
&lt;br /&gt;
 C:\Qt\4.7.1;C:\Qt\4.7.1\qt\bin;C:\Qt\4.7.1\mingw\bin;C:\Program Files\CMake 2.8\bin; &lt;br /&gt;
 C:\Qt\4.7.1\mingw\lib;C:\Qt\4.7.1\mingw\include&lt;br /&gt;
&lt;br /&gt;
You can edit your path in the &amp;quot;system property&amp;quot; dialog of windows (easy on XP but a little more obscure in Vista and Windows 7). Be very careful editing the path, any syntax errors will stop the creation of the cmakecache.txt when paths can't be found. Remove the paths to other instances of mingw.&lt;br /&gt;
&lt;br /&gt;
 You need to (re)start Qt Creator after this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.1- Gettext: Download the &amp;quot;Complete package, except sources&amp;quot;&lt;br /&gt;
installer from http://gnuwin32.sourceforge.net/packages/gettext.htm&lt;br /&gt;
and install it in C:\Qt\4.7.1\mingw\ It will install everything we&lt;br /&gt;
need in the mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.2- libIconv: Download the &amp;quot;Complete package, except sources&amp;quot;&lt;br /&gt;
installer from http://gnuwin32.sourceforge.net/packages/libiconv.htm&lt;br /&gt;
and install it in C:\Qt\4.7.1\mingw\ It will install everything we&lt;br /&gt;
need in the mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5.3- zlib: Download the &amp;quot;Complete package, except sources&amp;quot; installer&lt;br /&gt;
from http://gnuwin32.sourceforge.net/packages/zlib.htm and install it&lt;br /&gt;
in C:\Qt\4.7.1\mingw\ It will install everything we need in the&lt;br /&gt;
mingw environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Create a folder “\prog\ before you start Qt creator.&lt;br /&gt;
Start Qt Creator and tell it where your svn.exe is in&lt;br /&gt;
Tools/Options../Version Control/Subversion.&lt;br /&gt;
&lt;br /&gt;
My program automatically installed in /program files/Collabnet/subversion Server&lt;br /&gt;
&lt;br /&gt;
7- Create a new project File/New File or Project/Version&lt;br /&gt;
Control/Subversion Checkout, and give the following url:&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
and tell it to put it in the directory of your choice: in my case, I had already&lt;br /&gt;
created C:\prog\ The checkout should create the stellarium directory in there and the project headers will be in Documents and settings\your name\stellarium .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8- Once the source code is checked out, Qt Creator automatically&lt;br /&gt;
detects a cmake-based project and launches the CMake Wizard. I tell it&lt;br /&gt;
to build stellarium in C:\prog\stellarium\qtcreator-build .(default location)&lt;br /&gt;
Then run cmake using the MinGW target.&lt;br /&gt;
This will configure cmakecache.txt in the qtcreator-build folder (you can edit it if necessary)&lt;br /&gt;
If this action fails to find any dependancies. check the cmakecache.txt you may need to manually&lt;br /&gt;
install the requirement paths. When this completes OK click on finish.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9- If everything went well, click on the &amp;quot;build all&amp;quot; button in Qt&lt;br /&gt;
Creator, and wait that everything is build. This can take some time for the first build and&lt;br /&gt;
may show many warning messages. Watch the progress &amp;quot;build&amp;quot; bar in the left menu column.&lt;br /&gt;
It will turn green when the build is complete.&lt;br /&gt;
Click on build issues in lower window and you can see the progress. &lt;br /&gt;
(warning messages that don't stop the build or major reasons that do).&lt;br /&gt;
When it stops check the qtcreator-build\src folder to see the stellarium.exe and libstelmain.dll files. Copy these files to the stellarium folder.&lt;br /&gt;
Go to the Qt\4.7.1\qt\bin and copy&lt;br /&gt;
&lt;br /&gt;
libgcc_s_dw2-1.dll....from qt/4.7.0/qt/bin&lt;br /&gt;
&lt;br /&gt;
libiconv2.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
libintl3.dll....from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
zlib1.dll .... from qt/4.7.1/mingw/bin&lt;br /&gt;
&lt;br /&gt;
mingwm10.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
phonon4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtcore4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtgui4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtnetwork4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtopengl4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtscript4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtsvg4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
Qtxml4.dll....from qt/4.7.1/qt/bin&lt;br /&gt;
&lt;br /&gt;
To the stellarium folder&lt;br /&gt;
&lt;br /&gt;
10. Run Stellarium and enjoy&lt;br /&gt;
&lt;br /&gt;
==Installing Stellarium ==&lt;br /&gt;
&lt;br /&gt;
Stellarium will be automatically installed into a folder in your boot drive \program files\stellarium when &amp;quot;make install&amp;quot; is run and place the necessary files for use of the inno compiler in sub directories of this folder.&lt;br /&gt;
&lt;br /&gt;
Note: Will someone please show how this is done from Qtcreator?&lt;br /&gt;
&lt;br /&gt;
==Making the Package==&lt;br /&gt;
&lt;br /&gt;
To make an intallation package you will first need to download and install the Inno installer&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.3.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
There is a stellarium.iss file in the stellarium source folder that holds the package compiler source to be used with the inno compiler.&lt;br /&gt;
&lt;br /&gt;
This file will look for all the necessary components in a folder \program files\stellarium created by the &amp;quot;make install&amp;quot; command&lt;br /&gt;
&lt;br /&gt;
When all this is prepared it is only necessary to click on the stellarium.iss file to load it and then compile under the build heading.&lt;br /&gt;
&lt;br /&gt;
The package will be built and placed in a new folder created &amp;quot;installers&amp;quot;. The package will be &amp;quot;stellarium-0.10.5-win32.exe&amp;quot;. This package can then be run on any XP, Vista or Windows 7 computer. Note:- If you are installing on a 64 bit computer the program will need to be placed in the Program files (x86) folder, not the Program Files folder.&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-08-07T21:54:37Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Making the installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.6.8.19260-win32-svn-1.6.11.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.6.8.19260-x64-svn-1.6.11.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#run CMake:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD #:WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds source later than svn 6052&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current build from bzr source will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select and place an icon on the desktop.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;br /&gt;
&lt;br /&gt;
= Building with Microsoft Visual Studio 8.0 =&lt;br /&gt;
&lt;br /&gt;
'''NOTE: these instructions are quite out of date.'''&lt;br /&gt;
&lt;br /&gt;
After couple of weeks work I finally got the stellarium compiled and run using MS VisualStudio 8.0. MS C/C++ compiler is quite strict with the declarations of the variables and there is some differences with the functions that MS has/has not, but finally I got it work. A huge patch is posted to Fabien, waiting it to be approved ...&lt;br /&gt;
&lt;br /&gt;
== Use SVN to get the source code ==&lt;br /&gt;
*Install development tools as described above, including Tortoise SVN (requires reboot)&lt;br /&gt;
*Start MSYS.  This will create the directory&lt;br /&gt;
 C:\msys\1.0\home\&amp;lt;yourusername&amp;gt;&lt;br /&gt;
*Browse there with file explorer.&lt;br /&gt;
*Right click in the folder and select ''SVN Checkout'' from the popup menu&lt;br /&gt;
*In the ''URL of Repository'' edit box, enter the URL of the SVN repository, which is &lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/stellarium&lt;br /&gt;
*In your .profile, set STELROOT like this:&lt;br /&gt;
 export STELROOT=&amp;quot;$HOME/stellarium&amp;quot;&lt;br /&gt;
*Optionally repeat the checkout process for the plugins with the URL:&lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/extmodules&lt;br /&gt;
&lt;br /&gt;
The result should be that when you start MSYS, you should see two sub-directories in your home directory:&lt;br /&gt;
 stellarium&lt;br /&gt;
 extmodules&lt;br /&gt;
And you should also have an environment variable STELROOT set which points at the full path of the stellarium directory.&lt;br /&gt;
&lt;br /&gt;
== External Libraries ==&lt;br /&gt;
&lt;br /&gt;
* boost : from http://www.boost.org/&lt;br /&gt;
* libintl: from http://gnuwin32.sourceforge.net/&lt;br /&gt;
* zlib: http://www.zlib.net&lt;br /&gt;
* SDL: http://www.libsdl.org/&lt;br /&gt;
* libpng: http://www.libpng.org/pub/png/libpng.html&lt;br /&gt;
* freetype: http://freetype.sourceforge.net/index2.html&lt;br /&gt;
* libjpeg: http://freshmeat.net/projects/libjpeg/&lt;br /&gt;
&lt;br /&gt;
Download the libraries and the development files (include the needed header-files), install packages and go on  ...&lt;br /&gt;
&lt;br /&gt;
Getting the source code : use '''SVN''&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/CompileWithMSYS</id>
		<title>CompileWithMSYS</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/CompileWithMSYS"/>
				<updated>2012-08-07T21:51:10Z</updated>
		
		<summary type="html">&lt;p&gt;Barrykgerdes: /* Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the updated instruction for building Stellarium from version 0.11.4. using the MSYS system with Qt 4.8.2/MinGW. See also the [[Windows_Build_Instructions]] for the QtCreator method which you may find easier.&lt;br /&gt;
&lt;br /&gt;
==Installation of development tools &amp;amp; libraries==&lt;br /&gt;
&lt;br /&gt;
===Building with MinGW32===&lt;br /&gt;
&lt;br /&gt;
With the change in compiling to use Qt 4.8.2 compiling Stellarium has now been made considerably easier and can be built successfully in Windows 2000, XP, Vista and Windows 7 (32 bit and 64 bit) although it must be run in 32 bit mode on 64 bit operating systems. A version for 64bit compiling will available later&lt;br /&gt;
&lt;br /&gt;
Note: Windows 7 (64bit). When using MSYS Windows 7 does not respond to *.bat files. Change the .bat to .cmd. In addition file names that start with &amp;quot;.&amp;quot; eg .bzr cannot be renamed. The install programs seem to be able to write these files however. Windows 7 may need administrator privileges to write some files&lt;br /&gt;
&lt;br /&gt;
The need for separate installations of most of the older dependancies like Dev-Cpp, MinGW, GNUWin32 etc is no longer needed.&lt;br /&gt;
&lt;br /&gt;
To get started you will need to download Qt 4.8.2 for installation after MinGW is compiled&lt;br /&gt;
&lt;br /&gt;
* Nokia's Qt OpenSource (current version 4.8.2) &lt;br /&gt;
&lt;br /&gt;
  Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
from their site&lt;br /&gt;
&lt;br /&gt;
 http://qt.nokia.com/downloads&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SDK download only contains Qt version 4.7.0 so you will need to get MinGW separately&lt;br /&gt;
&lt;br /&gt;
A new version of MinGW will be required. This can be acquired from&lt;br /&gt;
&lt;br /&gt;
 https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.0-1/&lt;br /&gt;
&lt;br /&gt;
Download &lt;br /&gt;
&lt;br /&gt;
 mingw-get-inst-20120426.exe (662.7kB)&lt;br /&gt;
&lt;br /&gt;
It is at the top of the page. Run mingw-get-inst-20120426.exe (662.7kB) and it will install MinGW with GCC 4.6, Gettext-0.18.1.1-2, and libintl-0.18.1.1-2. This is quite a large down load and requires some additions to the starting menu. &lt;br /&gt;
&lt;br /&gt;
In the select components menu&lt;br /&gt;
MinGW compile suite and the C compiler are already ticked.&lt;br /&gt;
Add ticks to C++ compiler and the last item MinGW Developer tool kit.&lt;br /&gt;
&lt;br /&gt;
MinGW needs to be installed before any other dependencies as it location must be known by Qt and Msys&lt;br /&gt;
&lt;br /&gt;
It may not install correctly if anything upsets the install procedure. I had four goes before I got it right. Check the \MinGW\Bin folder and make sure that MSgfmt.exe, libgettextlib-0-18-1.dll and libgettextsrc-0-18-1.dll are there. Check \MinGW\include for libintl.h and zlib.h are there. This should be enough to assure that it has installed correctly.&lt;br /&gt;
&lt;br /&gt;
Next run &lt;br /&gt;
&lt;br /&gt;
 Qt libraries 4.8.2 for Windows (MinGW 4.4, 318 MB)&lt;br /&gt;
&lt;br /&gt;
and install it in \Qt\4.8.2\Qt to conform to previous editions. Indicate the location of MinGW when asked.&lt;br /&gt;
&lt;br /&gt;
We now need to add the other dependencies &lt;br /&gt;
&lt;br /&gt;
Firstly&lt;br /&gt;
&lt;br /&gt;
*CMake-2.8.1-win32-86.exe from http://www.cmake.org/HTML/index.html&lt;br /&gt;
*:Note: version 2.8 will be needed for sound support&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
 &lt;br /&gt;
*zlib-1.2.3.exe (from http://gnuwin32.sourceforge.net/packages/zlib.htm). &lt;br /&gt;
&lt;br /&gt;
This dependency is best installed in \MinGW rather than the default of \Program files\GNU when requested for the install folder, this will reduce the number of paths to be stored.&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
*MSYS version 1.0.11 (http://sourceforge.net/project/downloading.php?groupname=mingw&amp;amp;filename=MSYS-1.0.11.exe&amp;amp;use_mirror=switch). Install to the root directory and answer yes to the first two questions and set the path to the location of MinGW to \MinGW &lt;br /&gt;
Note: Windows 7 does not like .bat files it prefers them as .cmd. If the msys.bat file does not store your previous command try changing it to msys.cmd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source code is now kept in bzr and no longer updated in the svn see the section on the Stellarium home page under &lt;br /&gt;
:''see'' [[Bzr checkout]]&lt;br /&gt;
&lt;br /&gt;
and finally&lt;br /&gt;
&lt;br /&gt;
*TortoiseSVN-1.6.8.19260-win32-svn-1.6.11.msi (or the current version) into Windows (http://tortoiseSVN.net/downloads). If you have Windows 7 64 bit don't forget to get and install the 64 bit version TortoiseSVN-1.6.8.19260-x64-svn-1.6.11.msi.(or the current version) Next install bazaar from http://wiki.bazaar.canonical.com/Download During installation tick the bzr shell extension. NOTE: there may be a later versions. (if you want to build the latest development version)&lt;br /&gt;
&lt;br /&gt;
==Configuring the MSYS environment==&lt;br /&gt;
You need to set some environment variables in the MSYS environment.  Start MSYS and enter the following commands. &lt;br /&gt;
 &lt;br /&gt;
  export PATH=$PATH:C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;c:\Qt\4.8.2\qt\bin;&lt;br /&gt;
  C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
If you installed packages listed above in non-standard locations (or with different versions which are expressed in the path to the files), you'll need to modify this command appropriately:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
When Building with Qt the following paths are best added to the &amp;quot;Path&amp;quot; of the environment variables of your operating system manually.  Control panel – System – advanced – environment variables. (use your system drive for &amp;quot;C:&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Note: to avoid secondary paths to older versions of the dependencies it is safer to remove the paths from the environment variables that call &amp;quot;dev-cpp&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 C:\Program Files\CMake 2.8\bin;C:\Qt\4.8.2;C:\Qt\4.8.2\qt\bin;&lt;br /&gt;
 C:\mingw\bin;C:\mingw\lib;C:\mingw\include&lt;br /&gt;
&lt;br /&gt;
==Getting the source code==&lt;br /&gt;
===Release versions===&lt;br /&gt;
You can download the source code for the release versions from the sourceforge download area.  Save the file to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).  The file name should be stellarium-0.11.3.tar.gz or similar. &lt;br /&gt;
 &lt;br /&gt;
You will need a decompression program installed in Windows. I use a free program &amp;quot;Jzip&amp;quot; which seems to handle all the current compression algorithms.&lt;br /&gt;
&lt;br /&gt;
De-compress the tar file like this:&lt;br /&gt;
 tar zxvf stellarium-0.11.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
The root of the source tree will be will be /home/YOURUSERNAME/stellarium for simplicity.&lt;br /&gt;
&lt;br /&gt;
===Development versions from the Bazaar repository===&lt;br /&gt;
:''See also'' [[Bzr checkout]]&lt;br /&gt;
You can try the latest development code by downloading from the bzr repositry using the TortoiseSVN client bzr shell.  This program integrates with the Windows file browser.  See the TortoiseSVN website for details.  Check out the source by entering the folder where you have the stellarium source code and from the Windows menu bar:  &lt;br /&gt;
&lt;br /&gt;
The root of the source tree typically will be /MSYS/1.0/home/YOURUSERNAME/stellarium.&lt;br /&gt;
 &lt;br /&gt;
You will first need to get the source code. Open MSYS to see the command line and enter:&lt;br /&gt;
&lt;br /&gt;
 cd /c/msys/1.0/home/YOURNAME &lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 bzr co lp:stellarium&lt;br /&gt;
&lt;br /&gt;
This will download the trunk into .bzr (nearly 1GB at the moment), a hidden folder in the stellarium folder, so it may take some time. When this completes the trunk source code will be written into your stellarium folder.&lt;br /&gt;
&lt;br /&gt;
When the source code is loaded into your stellarium folder you can add any updates from the Windows pull down menu.&lt;br /&gt;
Note: in Windows 7 the menu will appear if you right click the mouse in a vacant area of the stellarium folder.&lt;br /&gt;
&lt;br /&gt;
 Files - TortoiseBZR - update. The default will be the working tree then press enter&lt;br /&gt;
&lt;br /&gt;
Check out to the /home/YOURUSERNAME directory within MSYS (typically this is C:\msys\1.0\home\YOURUSERNAME\ within the Windows filesystem).&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
#Open an MSYS console, and change directory into the root of the source tree, e.g.&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cd stellarium&amp;lt;/pre&amp;gt;&lt;br /&gt;
#make a build directory and change into it:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;mkdir -p builds/msys &amp;amp;&amp;amp; cd builds/msys&amp;lt;/pre&amp;gt;&lt;br /&gt;
#run CMake:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cmake -G &amp;quot;MSYS Makefiles&amp;quot; ../..&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:See the notes below for solutions to some common errors&lt;br /&gt;
#run make:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; echo &amp;quot;BUILD WORKED&amp;quot; || echo &amp;quot;BUILD FAILED&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:There will be quite a few warnings.  These can usually be ignored.  You will see a message, &amp;quot;BUILD #:WORKED&amp;quot; or &amp;quot;BUILD FAILED&amp;quot; telling you if it was successful.&lt;br /&gt;
#run make install&lt;br /&gt;
#:&amp;lt;pre&amp;gt;make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will place all the compiled files in program files\stellarium. From where they will be found when you run the installer program stellariun.iss after you install the Inno Setup Compiler&lt;br /&gt;
&lt;br /&gt;
==Doing a test run==&lt;br /&gt;
If the build was successful, you can run the program without installing it, just to test everything is OK.  First you need to find all the DLLs which Stellarium uses, and copy them to the root of the source tree:&lt;br /&gt;
*From the \QT\4.8.2\Qt\bin: QtCore4.dll, phonon4.dll, QtGui4.dll, QtScript4.dll, QtNetwork4.dll, QtOpenGL4.dll, QtSvg4.dll, qtxml4.dll and Qtsql4.dll &lt;br /&gt;
 &lt;br /&gt;
*From the \mingw\bin folder: libiconv2.dll libintl3.dll mingwm10.dll zlib1.dll libgcc_s_dw2-1.dll libstdc++.dll &lt;br /&gt;
If you need a language other than English copy the locale folder from \program files\stellarium\share to the stellarium source tree root folder&lt;br /&gt;
&lt;br /&gt;
If you're still in the build directory, change back to the root of the source tree:&lt;br /&gt;
 cd ../..&lt;br /&gt;
&lt;br /&gt;
Then call the program with this command:&lt;br /&gt;
 builds/msys/src/stellarium.exe&lt;br /&gt;
&lt;br /&gt;
If all is well, Stellarium should launch.&lt;br /&gt;
&lt;br /&gt;
Finally Run&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
This will place all the necessary files in your program files folder stellarium where the installer expects to find them.&lt;br /&gt;
&lt;br /&gt;
==Making the installer==&lt;br /&gt;
&lt;br /&gt;
We use the Inno Setup Compiler to create the installer. These details are for builds source later than 6052&lt;br /&gt;
&lt;br /&gt;
From http://www.jrsoftware.org download isetup-5.2.2.exe, run it to install. &lt;br /&gt;
&lt;br /&gt;
If you have followed the above procedure the current svn build will generate the necessary stellarium.iss file. Double click on it, then from the menu bar &amp;quot;build-compile&amp;quot;. It will build the stellarium installer package and place it in a folder of the stellarium source tree root folder &amp;quot;installers&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run the program generated and Stellarium will be installed in program files\stellarium or wherever you select and place an icon on the desktop.&lt;br /&gt;
&lt;br /&gt;
==  NOTES: ==&lt;br /&gt;
&lt;br /&gt;
Note 1:  If the compile fails with the error &amp;quot;can't find a particular file&amp;quot;. Check the cmakecache.txt file in the ...\build\msys folder and make sure the variable/path/file is directed to the correct source.&lt;br /&gt;
&lt;br /&gt;
Note 2: Stellarium is compiled to specifically use OpenGl2 for enhanced video. If your video card does not have OpenGl2 compatable drivers you can force OpenGL1 by placing &lt;br /&gt;
use_qpaintenginegl2 = false in the [main] section of the config.ini file&lt;br /&gt;
&lt;br /&gt;
= Building with Microsoft Visual Studio 8.0 =&lt;br /&gt;
&lt;br /&gt;
'''NOTE: these instructions are quite out of date.'''&lt;br /&gt;
&lt;br /&gt;
After couple of weeks work I finally got the stellarium compiled and run using MS VisualStudio 8.0. MS C/C++ compiler is quite strict with the declarations of the variables and there is some differences with the functions that MS has/has not, but finally I got it work. A huge patch is posted to Fabien, waiting it to be approved ...&lt;br /&gt;
&lt;br /&gt;
== Use SVN to get the source code ==&lt;br /&gt;
*Install development tools as described above, including Tortoise SVN (requires reboot)&lt;br /&gt;
*Start MSYS.  This will create the directory&lt;br /&gt;
 C:\msys\1.0\home\&amp;lt;yourusername&amp;gt;&lt;br /&gt;
*Browse there with file explorer.&lt;br /&gt;
*Right click in the folder and select ''SVN Checkout'' from the popup menu&lt;br /&gt;
*In the ''URL of Repository'' edit box, enter the URL of the SVN repository, which is &lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/stellarium&lt;br /&gt;
*In your .profile, set STELROOT like this:&lt;br /&gt;
 export STELROOT=&amp;quot;$HOME/stellarium&amp;quot;&lt;br /&gt;
*Optionally repeat the checkout process for the plugins with the URL:&lt;br /&gt;
 https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/extmodules&lt;br /&gt;
&lt;br /&gt;
The result should be that when you start MSYS, you should see two sub-directories in your home directory:&lt;br /&gt;
 stellarium&lt;br /&gt;
 extmodules&lt;br /&gt;
And you should also have an environment variable STELROOT set which points at the full path of the stellarium directory.&lt;br /&gt;
&lt;br /&gt;
== External Libraries ==&lt;br /&gt;
&lt;br /&gt;
* boost : from http://www.boost.org/&lt;br /&gt;
* libintl: from http://gnuwin32.sourceforge.net/&lt;br /&gt;
* zlib: http://www.zlib.net&lt;br /&gt;
* SDL: http://www.libsdl.org/&lt;br /&gt;
* libpng: http://www.libpng.org/pub/png/libpng.html&lt;br /&gt;
* freetype: http://freetype.sourceforge.net/index2.html&lt;br /&gt;
* libjpeg: http://freshmeat.net/projects/libjpeg/&lt;br /&gt;
&lt;br /&gt;
Download the libraries and the development files (include the needed header-files), install packages and go on  ...&lt;br /&gt;
&lt;br /&gt;
Getting the source code : use '''SVN''&lt;/div&gt;</summary>
		<author><name>Barrykgerdes</name></author>	</entry>

	</feed>