Jump to navigation Jump to search

Compiling ScummVM/GCC

105 bytes removed, 05:53, 28 December 2014
Add the needed libraries for ScummVM, obtained via apt-get and yum
== Compiling ScummVM with GCC under Linux ==
== Tools/Installing the needed libraries needed via a package manager=====Mandatory (these should also install dependencies)Debian-based distributions===The following should install all the needed libraries:* gccapt-cget install g++ (under Fedora Core, run "yum install gccmake libsdl1.2-dev libjpeg-turbo8-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-c++" as root to install the GNU C++ compiler)* SDLdev libfreetype6-devel (under Fedora Core, run "yum install SDLdev zlib1g-devel" as root to install it)dev
===Optional===* [ flac] (Free Lossless Audio CodecFor Ubuntu, needed if you want to play compressed games without quality loss) * [httpcan also obtain libunity:// 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-Vorbisapt-compressed games)* [ libMPEG2] (.mpg video decoder, needed for the reget install libunity-encoded cutscenes in Broken Sword 1/2)* TODO (tremor, libfluidsynth) == Building the libraries ==tododev
===RPM-based distributions===
The following should install all the needed libraries (apart from fluidsynth):
* yum install gcc-c++ make SDL-devel libjpeg-turbo-devel libmpeg2-devel libogg-devel libvorbis-devel flac-devel libmad-devel libpng-devel libtheora-devel faad2-devel freetype-devel zlib-devel
== Configuring ScummVM ==
== Compiling ScummVM ==
run "makeclean" and then "make"
== Installing ScummVM ==


Navigation menu