Changes between Version 59 and Version 60 of BuildInstructions


Ignore:
Timestamp:
Aug 7, 2009, 2:17:56 AM (15 years ago)
Author:
espes
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v59 v60  
    126126 * `sudo port install gcc42 gcc43 gcc_select`[[BR]] Select gcc 4.2 or 4.3 : `sudo gcc_select mp-gcc42` or `sudo gcc_select mp-gcc43`[[BR]]
    127127
    128  * Take care that '''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]]
     128 * Take care that '''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 -enable-ILU --enable-ILUT, make, and sudo make install.[[BR]]
    129129
    130130 * Right, you're almost ready to compile 0ad :
    131131   * 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).
    132    * you'll then need to patch Macports IL (/opt/local/include/IL/il.h and ilu.h : replace all ILvoid by void, except typedefs).
    133132
    134133 * Then, launch again the compilation starting from `./update-workspace.sh`