Difference between revisions of "Compiling ScummVM/GCC"

Jump to navigation Jump to search
m
Text replacement - "<source lang=" to "<syntaxhighlight lang="
m (Text replacement - "</source>" to "</syntaxhighlight>")
m (Text replacement - "<source lang=" to "<syntaxhighlight lang=")
Line 4: Line 4:
===Debian-based distributions===
===Debian-based distributions===
The following should install all the needed libraries:
The following should install all the needed libraries:
<source lang="bash">
<syntaxhighlight lang="bash">
apt-get install g++ make libsdl2-dev libjpeg62-turbo-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev
apt-get install g++ make libsdl2-dev libjpeg62-turbo-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev
</syntaxhighlight>
</syntaxhighlight>
Line 11: Line 11:


For Ubuntu, you can also obtain libunity:
For Ubuntu, you can also obtain libunity:
<source lang="bash">
<syntaxhighlight lang="bash">
apt-get install libunity-dev
apt-get install libunity-dev
</syntaxhighlight>
</syntaxhighlight>
Line 17: Line 17:
===RPM-based distributions===
===RPM-based distributions===
The following should install all the needed libraries (apart from fluidsynth):
The following should install all the needed libraries (apart from fluidsynth):
<source lang="bash">
<syntaxhighlight lang="bash">
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
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
</syntaxhighlight>
</syntaxhighlight>
Line 23: Line 23:
===Arch Linux-based distributions===
===Arch Linux-based distributions===
The following command installs the compiler toolchain and all the needed libraries:
The following command installs the compiler toolchain and all the needed libraries:
<source lang="bash">
<syntaxhighlight lang="bash">
pacman -S --needed base-devel git curl faad2 freetype2 flac fluidsynth libjpeg-turbo libogg libvorbis libmad libmpeg2 libtheora libpng nasm readline sdl2 sdl2_net zlib
pacman -S --needed base-devel git curl faad2 freetype2 flac fluidsynth libjpeg-turbo libogg libvorbis libmad libmpeg2 libtheora libpng nasm readline sdl2 sdl2_net zlib
</syntaxhighlight>
</syntaxhighlight>
TrustedUser
2,147

edits

Navigation menu