Of course you should also have the right library's and development-packages installed. The programs that use graphics need the openGL, SDL and SDL_image libraries (and things needed by openGL and SDL). The non-graphical programs (such as the server) can also use SDL, but it may be possible to compile them without SDL. Sound support using the FMOD or the OpenAL library is optional: if you don't have FMOD or openAL, Ultimate Stunts will compile without sound support. if you have both, Ultimate Stunts will use OpenAL by default. Additionally, if OpenAL is used for sound, Ultimate Stunts can use libvorbisfile for loading Ogg Vorbis sounds and music. Without libvorbisfile, Ultimate Stunts depends on an extension of the ALUT library for loading Ogg files, and this extension is often not present.
You can find the necessary libraries here:
If you want to use OpenAL, don't forget to install the ALUT library too.Most Linux distributions provide the necessary libraries as packages. Usually, FMOD is not included (as it is non-free software), but you can always use OpenAL instead. If you install these libraries through a package-management system, don't forget to install the development packages: they are necessary for compiling Ultimate Stunts (for running it, you only need the runtime packages). To give you an idea of what kind of packages to install, these are the package names in Ubuntu 10.04:
First of all you should have downloaded the source package, and have it extracted in a directory. Then, Ultimate Stunts should be configured for compiling on your system. So, run the configure- script:
./configureIf everything has worked well, the configure-script has made some files with the name "Makefile". This enables "make" to do the compiling automatically for you. Start make with the following command:
makeMake will first compile all code that is shared between the different programs. Then it will compile program-specific code and link it all together to form the program binaries. The resulting binaries are located in the program-specific directories.
make installThe "make install" stage is not necessary for testing the game: you can already run Ultimate Stunts from the source directory with ./execselect.sh or ./ultimatestunts/ustunts. "make install" installs the binaries and data files. It assumes a UNIX-style directory layout, so on other operating systems a manual installation may be more useful. You must run this command as super-user (root). The default locations for the files are /usr/local/bin for the binaries and /usr/local/share/ultimatestunts. After "make install", users can start Ultimate Stunts with the command ustunts (if the location of the binaries is in the user's PATH variable, of course).
Windows users who want to start their binary's from the explorer, from the start menu or any other usual way, should know that all cygwin programs need cygwin1.dll. The ultimatestunts binary also needs additional DLLs, like SDL.dll. Find those files, and place them e.g. in the same directory as the binaries. For starting a networked multiplaying game, some tweaking of the PATH variable may be necessary. See the windows binary package for how I solved it.