Changes between Version 38 and Version 39 of BuildInstructions


Ignore:
Timestamp:
Jul 26, 2009, 7:42:06 PM (15 years ago)
Author:
arn34
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v38 v39  
    101101
    102102Follow this steps to install under OS X:
    103  * Install Apple's XCode for your system : see your Mac OsX install DVD or go to [http://connect.apple.com Apple's Developer Connection Site]
     103 * Install Apple's XCode for your system : see your Mac OsX install DVD or go to [http://connect.apple.com Apple's Developer Connection Site][[BR]]
    104104   This provides the necessary tools to compile programs
    105105
    106  * Install Macports : [http://www.macports.org/install.php MacPorts]
     106 * Install Macports : [http://www.macports.org/install.php MacPorts][[BR]]
    107107   This is the easiest way to install all the dependencies needed by 0ad.
    108108
    109  * `sudo port install gcc43`
    110    You need this gcc version because the one provided by Apple is gcc 4.0.1 which will fail in compiling 0ad.  Note that gcc 4.1 will fail also (don't know about gcc 4.2).
    111    You'll also have to make symlinks in the /opt/local/bin/ directory to link the gcc command to gcc-mp-43 or OS X will use the default system gcc (so 4.0.1) : sudo ln -s /opt/local/bin/gcc-mp-43 gcc
     109 * `sudo port install gcc43`[[BR]]
     110   You need this gcc version because the one provided by Apple is gcc 4.0.1 which will fail in compiling 0ad.  Note that gcc 4.1 will fail also (don't know about gcc 4.2).[[BR]]
     111   You'll also have to make symlinks in the /opt/local/bin/ directory to link the gcc command to gcc-mp-43 or OS X will use the default system gcc (so 4.0.1) : sudo ln -s /opt/local/bin/gcc-mp-43 gcc[[BR]]
    112112   Make also symlinks for g++ and c++
    113113
    114114 * `sudo port install` the following packages :
    115    ** boost
    116    ** libsdl
    117    ** spidermonkey
    118    ** xercesc
    119    ** wxWidgets
    120    ** ffmpeg
    121    ** libxml2
     115  * boost
     116  * libsdl
     117  * spidermonkey
     118  * xercesc
     119  * wxWidgets
     120  * ffmpeg
     121  * libxml2
    122122
    123123 * As mentionned in the help file : "You also need to install DevIL manually. It depends on some libraries downloaded through MacPorts above, so get those first. Next, obtain DevIL 1.6.8 RC2 from http://openil.sourceforge.net/download.php. Then extract the archive, and run ./configure, make, and sudo make install." - I downloaded 1.7.8 which is the latest version and it seems to work as well.
     
    132132
    133133 * then compile the game :
    134    ** `cd trunk/build/workspaces`
    135    ** `./update-workspaces.sh` (you'll have to repeat this step each time a source file is added or removed)
    136    ** `cd gcc`
    137    ** `make -j3` (where `3` is the number of parallel builds to run, and could perhaps be one plus the number of CPU cores available)
    138    ** If you encounter any build errors, look for an existing bug report or report a new bug.
    139  
     134  * `cd trunk/build/workspaces`
     135  * `./update-workspaces.sh` (you'll have to repeat this step each time a source file is added or removed)
     136  * `cd gcc`
     137  * `make -j3` (where `3` is the number of parallel builds to run, and could perhaps be one plus the number of CPU cores available)
     138  * If you encounter any build errors, look for an existing bug report or report a new bug.
     139  [[BR]]
    140140   I still get a last error, but it seems harmless.
    141141