The Glest Wiki
(Major revamp to wikify, internal links, headers, intro paragraph, reduced image size, etc)
(Outdated)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
{{Outdated}}
  +
 
[[GAE]], or the [[Glest]] Advanced Engine, is open source like its predecessor, so has its source code available to compile. This page goes over the compiling process for GAE in Macs. Compiling for [[GAE/Linux Compiling|Linux]] or [[GAE/Windows Compiling|Windows]] can be found on their respective pages.
 
[[GAE]], or the [[Glest]] Advanced Engine, is open source like its predecessor, so has its source code available to compile. This page goes over the compiling process for GAE in Macs. Compiling for [[GAE/Linux Compiling|Linux]] or [[GAE/Windows Compiling|Windows]] can be found on their respective pages.
   
 
==Prerequisites==
 
==Prerequisites==
*A SVN client
+
*A GIT client such as [http://gitx.frim.nl/ GitX]
 
*[http://www.cmake.org/cmake/resources/software.html CMake]
 
*[http://www.cmake.org/cmake/resources/software.html CMake]
   
 
==Checkout the source==
 
==Checkout the source==
Navigate to where you would like to place the project in your filesystem, and issue the command:
+
Navigate to where you would like to place the project in your filesystem, and git clone:
 
svn co https://glestae.svn.sourceforge.net/svnroot/glestae/trunk glestae_svn
 
   
 
git://glestae.git.sourceforge.net/gitroot/glestae/glestae
The directory <tt>glestae_svn</tt> will be created in the current directory, change the name if you please.
 
   
 
==Dependencies==
 
==Dependencies==
Line 31: Line 31:
   
 
==See Also==
 
==See Also==
*[[GAE|GAE]]
+
*[[GAE]]
 
*[[GAE/Linux Compiling|Linux Compiling]]
 
*[[GAE/Linux Compiling|Linux Compiling]]
 
*[[GAE/Windows Compiling|Windows Compiling]]
 
*[[GAE/Windows Compiling|Windows Compiling]]

Latest revision as of 21:36, 23 March 2011

This article or section may be outdated.
You can edit this page to improve it.
v  d  e


GAE, or the Glest Advanced Engine, is open source like its predecessor, so has its source code available to compile. This page goes over the compiling process for GAE in Macs. Compiling for Linux or Windows can be found on their respective pages.

Prerequisites[]

Checkout the source[]

Navigate to where you would like to place the project in your filesystem, and git clone:

git://glestae.git.sourceforge.net/gitroot/glestae/glestae

Dependencies[]

  • port install libsdl
  • port install libogg
  • port install libvorbis
  • port install lua
  • port install physfs

Compiling[]

  • Use the custom GAE OpenAL framework. Do not use the OpenAL Framework from Creative (its for PPC), and do not use the one provided by Macports (it contains bugs).
  • Run the CMake GUI, set the source directory to the location you checked out the source, and set the build directory to the same + /build, press configure and select the XCode generator.
  • In the CMake GUI, set GAE_DATA_DIR to point to $Checkout dir$/data/game. Press configure again and then generate.

If all goes well, a CMake grouped view might look something like this:

Cmake mac

The XCode project will be located in the build directory, load it up and build.

See Also[]