wiki:Compiling Quagents

Version 3 (modified by jpawlick, 13 years ago) (diff)

--

So you've got the source code and are looking to compile it so that it runs in sweet native glory.

Our code now compiles on Linux, Windows, and Mac. However, I'm having trouble getting SDL to link on Windows and MacOSX. Odd that I didn't have that problem under Linux... -Josh

Linux

You need SDL and the associated development packages. Once you've got those, simple navigate to the top-level directory of quagents and run "make".

Then, copy the .pk3 files into build/release-linux-*/quagents3/.

You should be able to run it now with the build/release-linux-*/ioquake3.* executable.

Mac OSX

There's another shell script to compile for OSX in the top level directory, and it seems to compile fine up until SDL. I don't think I did the right thing to install SDL. :( Maybe someone who has clocked more than 2 hours on a Mac in their life can help me on this one...

Windows

Working on it. Looks like the best solution is MinGW and the make. Try http://wiki.ioquake3.org/Building_ioquake3, and the ioquake3 readme.

Everthing Else

You're currently on your own, sorry. Give the makefile a shot and see what happens.