Build instructions

From PEG wiki

Revision as of 23:36, 13 December 2009 by M64 (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Operating systems

The only system currently actively supported is GNU/Linux. That means that since FIFE (our engine) is multi-platform the game probably runs on other OSs too, but due to limited number of programmer-hours available for the project we can not afford actively supporting all of them now. If you have managed to run the game on other system anyway, you are encouraged to share your experience on this page.

Dependencies

Here are things that (aside from OS) need to be installed on your machine to build and run PEG. most are FIFE requirements.

  • Scons
  • gcc / g++
  • SDL >= 1.2.8
  • boost >= 1.33.1
  • SDL_ttf >= 2.0
  • SDL_image
  • libvorbis
  • libvorbisfile
  • libogg
  • OpenAL
  • guichan >= 0.8.1 - due to some weird bugs it is included with FIFE, so I am not fully sure whether it is necessary.
  • SWIG >= 1.3.40
  • Python >= 2.6 - if installing via a package manager, remember about installing the '-dev' package which includes appropriate header files.
  • zlib >= 1.2
  • Xcursor - only needed on Linux (and perhaps other systems using X-Windows).
  • libopengl & libglu >= 1.3 - for additional OpenGL support. PEG currently can run using both on OpenGL and SDL/software renderer.
  • PyYAML aka Python-yaml - that one is PEG specific.

Downloading

You will need Git to download PEG. Run this command:

git clone git://github.com/m64/PEG.git PEG

Building

cd PEG
scons ext=1
scons

Running

cd clients/PEG
./run.py