Building mmpong
This is a quick guide on how to build the game binaries from source code, so if you're a Windows or Mac user or don't know what this means and just want to play the game, you'll probably just want to stick to the binaries that are provided under section Downloads above.
Installing mmpong from sources (like most pieces of software in the open-source world) takes three basic steps:
- Download the sources
- Configure, compile and link them into a bunch of binaries
- Install the binaries in your system
Get sources
You have two options here:
- use stable release tarball from downloads page
- checkout current development version from svn:
svn co https://web-yard.de/svn/mmpong/trunk mmpong
Check dependencies
Make sure you have installed the development files of the following libraries (usually called -dev or -devel in package managers). The server only requires pthreads (which should be available on every POSIX system).
- cmake (best >= 2.6)
- for mmpong-caca you need:
- caca (requires version 0.99beta16 or later)
- for mmpong-gl you need:
- sdl1.2
- sdl-image1.2
- sdl-mixer1.2
- cegui-mk2
- glew
(We hope this list is complete -- if you encounter any dependency problems, please let us know)
Configure and Compile
You have two options here and which one you choose depends on your needs.
- use cmake (recommended): works on Linux, Windows and Mac OS X
- use plain handcrafted Makefile: use this if you want to compile mmpong on a UNIX-like system quickly and you don't plan to install it permanently or if you just can't install cmake. It's easy to compile this way (one command less than cmake ;)) but be aware: it is likely to fail because of wrong include- or linker-paths. The handcrafted Makefile is a relict from the early days of mmpong and will perhaps be dropped in future releases.
