Difference between revisions of "Compiling ScummVM/GCC"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Optional: list of optional libs)
(Optional: ogg vorbis)
Line 9: Line 9:
 
* [http://flac.sourceforge.net/ flac] (Free Lossless Audio Codec, needed if you want to play compressed games without quality loss)  
 
* [http://flac.sourceforge.net/ flac] (Free Lossless Audio Codec, needed if you want to play compressed games without quality loss)  
 
* [http://www.underbit.com/products/mad/ libmad] (MPEG Audio Decoder, needed if you want to play MP3-compressed games)
 
* [http://www.underbit.com/products/mad/ libmad] (MPEG Audio Decoder, needed if you want to play MP3-compressed games)
* TODO (ogg, tremor, libmpeg2, libfluidsynth)
+
* [http://www.xiph.org/downloads/ libOGG and libVorbis] (OGG Vorbis decoder, needed if you want to play OGG-Vorbis-compressed games)
 +
* TODO (tremor, libmpeg2, libfluidsynth)
  
 
== Building the libraries ==
 
== Building the libraries ==

Revision as of 21:05, 19 March 2006

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

  • flac (Free Lossless Audio Codec, needed if you want to play compressed games without quality loss)
  • libmad (MPEG Audio Decoder, needed if you want to play MP3-compressed games)
  • libOGG and libVorbis (OGG Vorbis decoder, needed if you want to play OGG-Vorbis-compressed games)
  • TODO (tremor, libmpeg2, libfluidsynth)

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)

Further reading