Compiling ScummVM/GCC

From ScummVM :: Wiki
< Compiling ScummVM
Revision as of 02:28, 17 March 2006 by Clem (talk | contribs) (→‎Optional: optional libs)
Jump to navigation Jump to search

Compiling ScummVM with GCC under Linux

Tools/libraries needed

Mandatory (these should also install dependencies)

  • gcc-c++ (under Fedora Core, run "yum install gcc-c++" as root to install the GNU C++ compiler)
  • SDL-devel (under Fedora Core, run "yum install SDL-devel" as root to install it)

Optional

  • libflac (Free Lossless Audio Codec, needed if you want to compress games without quality loss)
  • TODO (mp3, ogg, MAD/mpeg)

Building the libraries

todo


Configuring ScummVM

Run the configure script - type "./configure" in the directory with the ScummVM source files. If no errors come up, you should be ready to compile ScummvM. Run "./configure --help" for a list of optional features (eg additional, not yet enabled engines).

Compiling ScummVM

run make

Installing ScummVM

either run ./scummvm from the current directory or run make install to install ScummVM (you can then run it using "scummvm" from any directory)