Difference between revisions of "Mac OS X"

From Armagetron
(First draft)
 
Line 12: Line 12:
 
== Libraries and dependancies ==
 
== Libraries and dependancies ==
  
I guess you need stuff like
+
All the external libraries you'll need are on the [http://sourceforge.net/project/showfiles.php?group_id=110997&package_id=266788 SourceForge.net project page]
* Boost
 
* OpenGL
 
 
* SDL
 
* SDL
to build the project (I wouldn't know, I've havn't gone that far yet)
+
* libpng
 +
* libxml
 +
* zthreads
 +
* libfreetype
 +
* ftgl
  
 
= Getting into it =
 
= Getting into it =
  
 
== Checking out a working copy ==
 
== Checking out a working copy ==
I don't know sh*t about [[ Bazaar]] and [http://www.urbandictionary.com/define.php?term=cba CBA] to either... so I use SVN like everybody else.
+
You should probably use [[ Bazaar]] to get the workspace but I [http://www.urbandictionary.com/define.php?term=cba CBA] so I use SVN like everybody else.
 
You can check out the stable branch ''a la mano'' like so:
 
You can check out the stable branch ''a la mano'' like so:
 
<pre>
 
<pre>
Line 27: Line 29:
 
</pre>
 
</pre>
  
However, I recommend using Xcode's SCM repository manager ('''SCM''' -> '''Configure SCM Repositories...''' to set it up) because oh-my-god it's so damn HAWT!!
+
However, I recommend using Xcode's SCM repository manager ('''SCM''' -> '''Configure SCM Repositories...''' to set it up) to check out the same folder as above.
Then just browse and check out the same folder as above.
 
  
 
Check out [[working with SVN]] for more "information".
 
Check out [[working with SVN]] for more "information".

Revision as of 17:50, 4 August 2008

This page will help you get up and running to hack Armagetron on Mac OS X I'm writing this as I go along so it is not yet complete!

Prerequisites

Xcode

You'll need Apple's Xcode, this guide was written for version 3.1. Xcode bundles important stuff for developping like gcc and stuff...

MacPorts

MacPorts may also come in handy for installing external libraries and stuff... who knows?

Libraries and dependancies

All the external libraries you'll need are on the SourceForge.net project page

  • SDL
  • libpng
  • libxml
  • zthreads
  • libfreetype
  • ftgl

Getting into it

Checking out a working copy

You should probably use Bazaar to get the workspace but I CBA so I use SVN like everybody else. You can check out the stable branch a la mano like so:

svn co svn co https://svn.sourceforge.net/svnroot/armagetronad/armagetronad/trunk/armagetronad

However, I recommend using Xcode's SCM repository manager (SCM -> Configure SCM Repositories... to set it up) to check out the same folder as above.

Check out working with SVN for more "information".

Creating the project

To open the project in Xcode, easy as pie : just open the Armagetron Advanced.xcodeproj in the MacOS folder where you checked out.

Building

Click the Build button ! Easy ! Now then... 6532 errors and 2warnings... Hmmm....