Difference between revisions of "Compiling ScummVM/GCC"

Jump to navigation Jump to search
m
Text replacement - "</source>" to "</syntaxhighlight>"
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 6: Line 6:
<source lang="bash">
<source 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
</source>
</syntaxhighlight>


Some distributions, like Ubuntu, do not provide the turbo version of libjpeg. In this case, simply install <tt>libjpeg62-dev</tt> instead of <tt>libjpeg62-turbo-dev</tt>.
Some distributions, like Ubuntu, do not provide the turbo version of libjpeg. In this case, simply install <tt>libjpeg62-dev</tt> instead of <tt>libjpeg62-turbo-dev</tt>.
Line 13: Line 13:
<source lang="bash">
<source lang="bash">
apt-get install libunity-dev
apt-get install libunity-dev
</source>
</syntaxhighlight>


===RPM-based distributions===
===RPM-based distributions===
Line 19: Line 19:
<source lang="bash">
<source 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
</source>
</syntaxhighlight>


===Arch Linux-based distributions===
===Arch Linux-based distributions===
Line 25: Line 25:
<source lang="bash">
<source 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
</source>
</syntaxhighlight>


Per default, some Arch based distributions like Manjaro and Antergos require the usage of "sudo" to gain root access.
Per default, some Arch based distributions like Manjaro and Antergos require the usage of "sudo" to gain root access.
TrustedUser
2,147

edits

Navigation menu