Open main menu

Difference between revisions of "Compiling ScummVM/GCC"

115 bytes removed ,  20:02, 15 December 2021
m
no edit summary
(→‎Compiling ScummVM: clarify CPU cores)
m
Line 2: Line 2:


==Installing the needed libraries via a package manager==
==Installing the needed libraries via a package manager==
===Debian-based distributions===
===Ubuntu 16.04 or later===
The following should install all the needed libraries:
The following should install all the needed libraries:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
apt-get install g++ make git nasm libsdl2-dev libsdl2-net-dev liba52-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 libfribidi-dev libgif-dev libglew-dev libcurl4-openssl-dev libgtk-3-dev libspeechd-dev libsndio-dev
apt install g++ make git nasm libsdl2-dev libsdl2-net-dev liba52-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 libfribidi-dev libgif-dev libglew-dev libcurl4-openssl-dev libgtk-3-dev libspeechd-dev libsndio-dev libunity-dev
</syntaxhighlight>
</syntaxhighlight>


For Ubuntu, you can also obtain libunity:
===Other Debian-based distributions===
<syntaxhighlight lang="bash">
apt-get install libunity-dev
</syntaxhighlight>
 
===Ubuntu 16.04 to 20.04===
The following should install all the needed libraries:
The following should install all the needed libraries:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
apt install g++ make git nasm libsdl2-dev libsdl2-net-dev liba52-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 libfribidi-dev libgif-dev libglew-dev libcurl4-openssl-dev libgtk-3-dev libspeechd-dev libsndio-dev libunity-dev
apt-get install g++ make git nasm libsdl2-dev libsdl2-net-dev liba52-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 libfribidi-dev libgif-dev libglew-dev libcurl4-openssl-dev libgtk-3-dev libspeechd-dev libsndio-dev
</syntaxhighlight>
</syntaxhighlight>


271

edits