Difference between revisions of "Building EDuke32 on Mac OS X"

From EDukeWiki
Jump to: navigation, search
(Created page with "This page is a work-in-progress adaptation of [http://www.spam-filter.de/osx/eduke32_on_os_x http://www.spam-filter.de/osx/eduke32_on_os_x].")
 
Line 1: Line 1:
 
This page is a work-in-progress adaptation of [http://www.spam-filter.de/osx/eduke32_on_os_x http://www.spam-filter.de/osx/eduke32_on_os_x].
 
This page is a work-in-progress adaptation of [http://www.spam-filter.de/osx/eduke32_on_os_x http://www.spam-filter.de/osx/eduke32_on_os_x].
 +
 +
== Getting source files ==
 +
* Current version (You need to install the ''subversion'' program) :
 +
<pre>svn co https://eduke32.svn.sourceforge.net/svnroot/eduke32/polymer/eduke32</pre>
 +
* [http://dukeworld.duke4.net/eduke32/synthesis Source tarballs] (Lite subversion snapshots, it does not include metadata, Apple compiled libraries, third-party jaudiolib and Photoshop files).
 +
* [http://dukeworld.duke4.net/eduke32/synthesis/old/ Old] and [http://dukeworld.duke4.net/eduke32/old_versions/source_code/ Older versions].
 +
 +
== Compiler Setup ==
 +
 +
#Install Xcode.
 +
#Copy SDLMain.m and SDLMain.h from the Apple/ directory into the root eduke32/.
 +
#You need to define the root directory of your SDL installation. Edit the file ''eduke32/Apple/Makefile.shared''. In most cases you only have to change the APPLE_TARGET to match your setup. For example: if you have [http://www.macports.org/ MacPorts] (aka DarwinPorts) installed then use ''/opt/local''.
 +
#Type ''make'' and hope for the best!

Revision as of 22:47, 14 February 2012

This page is a work-in-progress adaptation of http://www.spam-filter.de/osx/eduke32_on_os_x.

Getting source files

  • Current version (You need to install the subversion program) :
svn co https://eduke32.svn.sourceforge.net/svnroot/eduke32/polymer/eduke32
  • Source tarballs (Lite subversion snapshots, it does not include metadata, Apple compiled libraries, third-party jaudiolib and Photoshop files).
  • Old and Older versions.

Compiler Setup

  1. Install Xcode.
  2. Copy SDLMain.m and SDLMain.h from the Apple/ directory into the root eduke32/.
  3. You need to define the root directory of your SDL installation. Edit the file eduke32/Apple/Makefile.shared. In most cases you only have to change the APPLE_TARGET to match your setup. For example: if you have MacPorts (aka DarwinPorts) installed then use /opt/local.
  4. Type make and hope for the best!