Build the StepMania Source in Linux
(Redirected from Notes for building in Linux)
To Build StepMania for Linux, the following steps must be taken. These steps assume you are building the latest source.
Contents |
[edit]
Gather The Libraries
Ensure you have the following libraries and programs installed:
- libasound2-dev
- libpulse-dev
- libmad0-dev
- libtheora-dev
- libvorbis-dev
- libpng-dev
- libjpeg-dev
- libglu1-mesa-dev
- libgl1-mesa-dev
- libgtk2.0-dev
- xorg-dev*
- libxrandr-dev
- automake1.10
- build-essential
- subversion
- curl
- g++
*: It is believed almost any x11-dev or related library will work.
On a Debian or Ubuntu command line you can copy and paste this:
sudo apt-get install libasound2-dev libpulse-dev libmad0-dev libtheora-dev libvorbis-dev libpng-dev \ libjpeg-dev libglu1-mesa-dev libgl1-mesa-dev libgtk2.0-dev xorg-dev libxrandr-dev automake1.10 \ build-essential subversion curl g++
[edit]
Get the Source
In the folder of your choice, run this command:
svn co https://svn.stepmania.com/svn/trunk/stepmania
If you already have the source, and wish to update it, go inside the folder and run this command:
svn up
[edit]
Compile the Source
Inside the stepmania folder, run this command:
./autogen.sh
(This creates some build scripts, it only has to be done the first time you build.)
Then:
./Utils/build.sh
It will gather ffmpeg, compile it, and then compile stepmania with it.
[edit]
Have Fun
With that, the game is compiled. Go get some simfiles and have fun.

.jpg)