Changes between Version 66 and Version 67 of BuildInstructions


Ignore:
Timestamp:
Aug 10, 2009, 9:30:26 AM (15 years ago)
Author:
arn34
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v66 v67  
    127127 * Right, you're almost ready to compile 0ad :
    128128   * 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).
    129    * if you compile gcc 4.2, you'll certainly need to patch Macports IL (/opt/local/include/IL/il.h and ilu.h : replace all ILvoid by void, except typedefs).
     129   * if you compile with gcc 4.2, you'll certainly need to patch Macports IL (/opt/local/include/IL/il.h and ilu.h : replace all ILvoid by void, except typedefs).
    130130
    131131 * If you're under Tiger, you'll certainly have to edit build/premake/premake.lua to get rid of the "-fstack-protector-all" line : see the [http://trac.wildfiregames.com/wiki/BuildInstructions#Knownproblemsandsolutions known problems section].