Changes between Version 3 and Version 4 of Compiling Quagents
- Timestamp:
- Jun 23, 2011 11:26:25 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified Compiling Quagents
v3 v4 4 4 5 5 == Linux == 6 You need [[http://www.libsdl.org/|SDL]] and the associated development packages. Once you've got those, simple navigate to the top-level directory of quagents and run "make".6 According to ioquake3's website, you need [[http://www.libsdl.org/|SDL]] and the associated development packages, but I've never had to do anything for this step under Linux. Perhaps I was already set up? Well, anyways, that issue aside, just run make and then copy the assets files (as described below). 7 7 8 Then, copy the .pk3 files into build/release-linux-*/quagents3/.9 8 10 You should be able to run it now with the build/release-linux-*/ioquake3.* executable. 9 === Yacc vs Bison === 10 Compilation requires yacc. If you have bison you may have problems. Here's how I fixed those problems on the URCS machines: 11 12 Link yacc to bison (probably better to install yacc, but...) 13 {{{ 14 mkdir ~/bin 15 cd ~/bin 16 ln -T --symbolic yacc /usr/bin/bison 17 }}} 18 Restart terminal, then try to make 19 {{{ 20 cd ~/quagents/trunk/ioquake3 21 make 22 (Make will fail.) 23 }}} 24 Patch up bison/yacc filename differences (FIXME: we should be able to have the Makefile do this, or configure bison to do it correctly? Or install yacc?). 25 {{{ 26 mv gram.tab.c y.tab.c 27 make 28 }}} 29 Make should complete successfully. 11 30 12 31 == Mac OSX == … … 18 37 == Everthing Else == 19 38 You're currently on your own, sorry. Give the makefile a shot and see what happens. 39 40 41 42 == Copy Assets Files == 43 You need to put all our assets .pk3 files into your build/release-?????-????/quagents3 directory, or your build/release-?????-????/missionpack directory if you would prefer to run the Team Arena mod. 44 {{{ 45 cp ~/quagents/trunk/openarena_assets/* ~/quagents/trunk/ioquake3/build/release-linux-i386/quagents3/ 46 cp ~/quagents/trunk/openarena_assets/* ~/quagents/trunk/ioquake3/build/release-linux-i386/missionpack/ 47 cp ~/quagents/trunk/urochester_assets/* ~/quagents/trunk/ioquake3/build/release-linux-i386/quagents3/ 48 cp ~/quagents/trunk/urochester_assets/* ~/quagents/trunk/ioquake3/build/release-linux-i386/missionpack/ 49 }}}