Building ioquake3 on Linux

From ioquake3 wiki
Revision as of 00:45, 3 December 2017 by ZTurtleMan (talk | contribs) (Add directions for cross-compiling for Windows.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Return to Building ioquake3

Linux

NOTE: These instructions apply to the git version.

  1. Install git.
  2. Install SDL2 development.
  3. Check out the source from git://github.com/ioquake/ioq3.git with git clone git://github.com/ioquake/ioq3.git
  4. Change to the ioq3 directory
  5. Run make

Cross-compile for Windows

  1. Install git.
  2. Install mingw-w64.
  3. Check out the source from git://github.com/ioquake/ioq3.git with git clone git://github.com/ioquake/ioq3.git
  4. Change to the ioq3 directory
  5. Run make PLATFORM=mingw32 ARCH=x86 or make PLATFORM=mingw32 ARCH=x86_64