Difference between revisions of "Compiling ScummVM/GCC"

Jump to navigation Jump to search
105 bytes removed ,  03:53, 28 December 2014
Add the needed libraries for ScummVM, obtained via apt-get and yum
m (Compiling ScummVM GCC moved to Compiling ScummVM/GCC: using subpage instead)
(Add the needed libraries for ScummVM, obtained via apt-get and yum)
Line 1: Line 1:
== Compiling ScummVM with GCC under Linux ==
== Compiling ScummVM with GCC under Linux ==


== Tools/libraries needed ==
==Installing the needed libraries via a package manager==
===Mandatory (these should also install dependencies)===
===Debian-based distributions===
* gcc-c++ (under Fedora Core, run "yum install gcc-c++" as root to install the GNU C++ compiler)
The following should install all the needed libraries:
* SDL-devel (under Fedora Core, run "yum install SDL-devel" as root to install it)
* apt-get install g++ make libsdl1.2-dev libjpeg-turbo8-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev


===Optional===
For Ubuntu, you can also obtain libunity:
* [http://flac.sourceforge.net/ flac] (Free Lossless Audio Codec, needed if you want to play compressed games without quality loss)
* apt-get install libunity-dev
* [http://www.underbit.com/products/mad/ libmad] (MPEG Audio Decoder, needed if you want to play MP3-compressed games)
* [http://www.xiph.org/downloads/ libOGG and libVorbis] (OGG Vorbis decoder, needed if you want to play OGG-Vorbis-compressed games)
* [http://libmpeg2.sourceforge.net/ libMPEG2] (.mpg video decoder, needed for the re-encoded cutscenes in Broken Sword 1/2)
* TODO (tremor, libfluidsynth)
 
== Building the libraries ==
todo


===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 ==
== Configuring ScummVM ==
Line 21: Line 17:


== Compiling ScummVM ==
== Compiling ScummVM ==
run make
run "make clean" and then "make"


== Installing ScummVM ==
== Installing ScummVM ==
1,502

edits

Navigation menu