Difference between revisions of "Compile In Windows"

From FreeOrionWiki
Jump to: navigation, search
m (Compilation Instructions)
(Redirected page to Compile)
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Compilation Instructions==
+
#REDIRECT [[Compile]]
# First, get the [http://sourceforge.net/projects/freeorion/files/FreeOrion%20SDK FreeOrion SDK] from SourceForge. (~30MB)
+
# Check out the source code from [[Compile#Subversion|SVN]](~240MB) - (easiest route is to install Tortoise SVN, unzip the SDK downloaded in step 1 above, right click on the /FreeOrion folder, and chose SVN Update)
+
# Open FreeOrion\msvc2010\FreeOrion.sln
+
# Use Build->Build Solution to build all projects' release targets
+
 
+
Compilation may take some time: ~1 hour on Core i3 370M with 6GB RAM, ~20 min on Core i7 4710HQ with 8 GB RAM.
+
 
+
===Compiler===
+
FreeOrion can be compiled on Windows with the Visual Studio 2010.  Premade Visual Studio 2010 project files are available in SVN, and the SDK provides precompiled dependencies for this compiler.  Project files may also be generated using CMake.
+
 
+
Visual Studio 2010 Express Edition may be [http://www.microsoft.com/express/Downloads/#2010-Visual-CPP downloaded for trial] from Microsoft. If that link doesn't work even in IE, than use [http://go.microsoft.com/?linkid=9709949 this English link]. But after 30 days you have to register for free.
+
 
+
If you are a student, you may also be eligible for [http://www.dreamspark.com Microsoft Dreamspark], which will give you the Professional version of MSVC 2010 or several other Microsoft programs.
+
 
+
Also, if you are a student you should check out if your university takes part in the MSDNAA (Microsoft Developers Network Academic Alliance). You might be able to get Visual Studio 2010 Ultimate and other very pricy software for free or at some places a small administrative fee (like 5€ to get access for a semester)
+
 
+
===Software Dependencies===
+
The majority of FreeOrion dependencies can be found precompiled and packaged in the FreeOrion Windows SDK, from the [http://sourceforge.net/projects/freeorion/files/FreeOrion%20SDK/ SourceForge FreeOrion SDK page].
+
 
+
The SDK includes compiled libraries, headers and DLLs for: zlib, OGRE, Python, bullet, Boost, FreeType, GLEW, libpng, libjpeg, OpenAL, ALUT, libvorbis, and libogg.
+
 
+
Other dependencies include:
+
 
+
* '''GiGi''' - Including '''GiGiOgre''' and '''GiGiOgrePlugin_OIS'''.  The code for these is included in the FreeOrion SVN repository. The MSVC project files contain projects for the GiGi libraries that are needed by FreeOrion, and the DLLs .lib files will be placed in the FreeOrion folder when built.  All GiGi dependencies are in the FreeOrion SDK and should be automatically found and used when GiGi is built. If building FreeOrion using cmake, GiGi but must be built from source and installed.
+
 
+
==Runtime Errors==
+
Please report runtime errors in the [http://www.freeorion.org/forum/viewtopic.php?f=9&t=1787 forums].
+

Latest revision as of 14:41, 22 April 2020

Redirect to: