Difference between revisions of "Compiling ScummVM/GCC"

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:
== Compiling ScummVM with GCC under Linux or FreeBSD ==
== Compiling ScummVM with GCC on Unix-based systems ==


==Installing the needed libraries via a package manager==
==Installing the needed libraries via a package manager==
Line 56: Line 56:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
pkg install gtk3 speech-dispatcher
pkg install gtk3 speech-dispatcher
</syntaxhighlight>
===OpenBSD-based distributions===
The following should install all the needed libraries:
<syntaxhighlight lang="bash">
pkg_add git gmake sdl2 faad libogg libvorbis libiconv libmpeg2 libtheora libmad png flac fluidsynth liba52 fribidi jpeg
</syntaxhighlight>
For cloud and lan features you also need the SDL2_net and curl libraries:
<syntaxhighlight lang="bash">
pkg_add sdl2-net curl
</syntaxhighlight>
You can also obtain libgtk (to use the gtk file browser), and speech-dispatcher (for text to speech):
<syntaxhighlight lang="bash">
pkg_add gtk+3 speech-dispatcher
</syntaxhighlight>
</syntaxhighlight>


Line 65: Line 81:


If no errors come up, you should be ready to compile ScummvM.
If no errors come up, you should be ready to compile ScummvM.
It's possible to build ScummVM with Clang instead of GCC using the following command:
<syntaxhighlight lang="bash">
CXX=clang++ ./configure
</syntaxhighlight >
This is necessary in order to build ScummVM on OpenBSD.


For a list of optional features (e.g. additional, not yet enabled engines) run:
For a list of optional features (e.g. additional, not yet enabled engines) run:
213

edits

Navigation menu