Changes between Version 49 and Version 50 of BuildInstructions


Ignore:
Timestamp:
Jul 27, 2009, 10:50:37 AM (15 years ago)
Author:
espes
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v49 v50  
    117117  * ffmpeg
    118118  * libxml2
    119 
    120  * 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."''[[BR]]
    121    I downloaded 1.7.8 (the latest version at the time I wrote this article) and it seems to work as well. (1.6.8 has problems with GCC 4.3)
    122 
    123  * Install the [http://enet.bespin.org/ enet library] for networking.
     119  * libdevil
     120  * libenet
    124121
    125122 * Now get the last revision of the game : `svn co http://svn.wildfiregames.com/public/ps/trunk/` (or `http://svn.wildfiregames.com/svn/ps/trunk/` if you have commit access)
     
    147144   Select gcc 4.3:
    148145   `sudo gcc_select mp-gcc43`[[BR]]
     146
     147 * libdevil 1.6.8-rc2 (the version in macports) is not compatible with GCC 4.3, you'll need to install 1.7.8. Get it from http://openil.sourceforge.net/download.php. Then extract the archive, and run ./configure, make, and sudo make install."''[[BR]]
    149148
    150149 * Right, you're almost ready to compile 0ad : you need to patch Apple's OpenAL (/System/Library/Frameworks/OpenAL.Framework/alc.h : replace all ALCvoid by void, except first one which is a typedef).  Indeed, as Jan said, "C allows parameters typedefed to void, C++ does not; GCC >=4.2 are now strict about the error" (and will end to compilation error).