To compile UltimateStunts, you'll need a UNIX-compatible environment with a c/c++ compiler. You'll also need the program 'make', and a shell-program able to execute the configure-script. For Linux- and other UNIX-like users, this should be no problem. Windows-users can download Cygwin to meet those requirements. UltimateStunts will be kept portable with Cygwin during it's development.
Of course you should also have the right library's and development-packages
installed. The programs that use graphics need the openGL and SDL 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.
You can find the necessary libraries here:
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 installYou must run this command as super-user (root), because it will install the compiled binaries and the data files. The default location for this is /usr/local/games/ultimatestunts. After this, users can start Ultimate Stunts with the command ultimatestunts.sh (it is located in /usr/local/bin, which is usually in the PATH variable of users).
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 SDL.dll. Find those files, and place them e.g. in the same directory as the binaries.