Changes between Version 52 and Version 53 of BuildInstructions
- Timestamp:
- Aug 1, 2009, 3:49:29 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructions
v52 v53 120 120 * 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) 121 121 122 * Compile FCollada : `cd ` '''path-to-0ad'''`/libraries/fcollada/src && make` (where ''path-to-0ad'' is obviously the place you put the game folder)122 * Compile FCollada : `cd trunk/libraries/fcollada/src && make` 123 123 124 124 * then compile the game : … … 143 143 `sudo gcc_select mp-gcc43`[[BR]] 144 144 145 * 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]]145 * 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]] 146 146 147 147 * 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). … … 156 156 157 157 * If you get '''Performance warning: your graphics card does not support compressed textures''' when starting the game, it is an issue with [http://dri.freedesktop.org/wiki/S3TC S3TC texture compression]. You might be able to solve it by installing the `libtxc_dxtn` library, in a distro-specific way. 158 159 * if you get `/usr/bin/ld: Undefined symbols` (see code snippet here under), this comes from your glibc that is older than 2.4 : 160 161 {{{ 162 /usr/bin/ld: warning -L: directory name (../../../libraries/comsuppw/lib) does not exist 163 /usr/bin/ld: Undefined symbols: 164 ___stack_chk_fail 165 ___stack_chk_guard 166 collect2: ld returned 1 exit status 167 make[1]: *** [../../../binaries/system/pyrogenesis_dbg.app/Contents/MacOS/pyrogenesis_dbg] Error 1 168 make: *** [pyrogenesis] Error 2 169 }}} 170 171 Actually, this version of glibc doesn't support the stack-protection feature. So, until this is detected by the build system, you can hack it by removing the "-fstack-protector-all" line and the next line too from build/premake/premake.lua 172 158 173 159 174 === Installing thread-safe !SpiderMonkey ===