Changes between Version 3 and Version 4 of Compiling Quagents


Ignore:
Timestamp:
Jun 23, 2011 11:26:25 AM (13 years ago)
Author:
jpawlick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Compiling Quagents

    v3 v4  
    44
    55== 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".
     6According 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).
    77
    8 Then, copy the .pk3 files into build/release-linux-*/quagents3/.
    98
    10 You should be able to run it now with the build/release-linux-*/ioquake3.* executable.
     9=== Yacc vs Bison ===
     10Compilation requires yacc. If you have bison you may have problems. Here's how I fixed those problems on the URCS machines:
     11
     12Link 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}}}
     18Restart terminal, then try to make
     19{{{
     20        cd ~/quagents/trunk/ioquake3
     21        make
     22        (Make will fail.)
     23}}}
     24Patch 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}}}
     29Make should complete successfully.
    1130
    1231== Mac OSX ==
     
    1837== Everthing Else ==
    1938You're currently on your own, sorry. Give the makefile a shot and see what happens.
     39
     40
     41
     42== Copy Assets Files ==
     43You 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}}}