Difference between revisions of "Compile In Windows"

From FreeOrionWiki
Jump to: navigation, search
(FreeOrion SDK)
(Runtime Errors)
Line 24: Line 24:
  
 
==Runtime Errors==
 
==Runtime Errors==
Please report runtime errors in the [http://freeorion.org/forum/viewforum.php?f=25 forums].
+
Please report runtime errors in the [http://www.freeorion.org/forum/viewtopic.php?f=9&t=1787 forums].

Revision as of 23:56, 5 December 2010

Software requirements

Compiler

To compile FreeOrion you can use the MSVC 2010 IDE.

Visual Studio 2010 Express Edition may be downloaded for free from Microsoft.

If you are a student, you may also be elligable for Microsoft Dreamspark, which will give you the Professional version of MSVC 2010 or several other Microsoft programs.

Software Dependencies

The majority of FreeOrion dependencies can be found precompiled and packaged in the FreeOrion Windows SDK, from the SourceForge FreeOrion SDK page.

The SDK includes compiled libraries, headers and DLLs for: zlib, OGRE, bullet, Boost, FreeType, GLEW, libpng, libjpeg, OpenAL, ALUT, libvorbis, and libogg.

Other dependencies include:

  • GiGi - Including GiGiOgre and GiGiOgrePlugin_OIS. These are available from a Subversion repository, and should be automatically checked out with FreeOrion code when using the FreeOrion SDK. 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.

Compilation Instructions

  1. First, get the FreeOrion SDK from SourceForge.
  2. Check out the source code from SVN which should automatically also update GiGi.
  3. Open msvc2010\FreeOrion\FreeOrion.sln
  4. Use Build->Build Solution to build the three projects' release targets

Runtime Errors

Please report runtime errors in the forums.