Changes between Version 67 and Version 68 of BuildInstructions


Ignore:
Timestamp:
Aug 14, 2009, 3:37:38 PM (15 years ago)
Author:
espes
Comment:

Patching il.h and ilu.h is not necessary if using libdevil >= 1.7

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v67 v68  
    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 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).
    130129
    131130 * 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].