Difference between revisions of "Compiling ScummVM/BeOS/ZETA/Haiku"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Correct an instance of 'scummvm')
(Remove outdated reference to SVN)
Line 6: Line 6:
* Open a Terminal and type:
* Open a Terminal and type:
<pre>svn co https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk scummvm</pre>
<pre>git clone git://github.com/scummvm/scummvm.git</pre>
== Tools/libraries needed ==
== Tools/libraries needed ==

Revision as of 02:34, 22 November 2012

Compiling ScummVM with GCC under BeOS

As ScummVM is relying on a BONE version you need the BONE network stack (ZETA and Haiku) version for BeOS to compile (needs libbind and libsocket).

Getting the source

  • Open a Terminal and type:
git clone git://github.com/scummvm/scummvm.git

Tools/libraries needed

Mandatory (these should also install dependencies)


  • flac (Free Lossless Audio Codec, needed if you want to play compressed games without quality loss)
  • libmad (MPEG Audio Decoder, needed if you want to play MP3-compressed games)
  • libOGG and libVorbis (OGG Vorbis decoder, needed if you want to play OGG-Vorbis-compressed games)
  • libMPEG2 (.mpg video decoder, needed for the re-encoded cutscenes in Broken Sword 1/2)
  • nasm (The Netwide Assembler, used for HQx scalers)

Configuring ScummVM

Open Terminal and run configure with these options:

LDFLAGS=-L<path to where you have the libs/headers installed> ./configure --prefix=<path to where you want to install> --with-nasm-prefix=<path to nasm>

Compiling ScummVM

run make

Installing ScummVM

Run make install to install ScummVM (you can then run it using "scummvm" from any directory), if you are using a different directory scummvm will probably revert to the classic view due to not finding the gui theme in the subfolder but will nevertheless work ok.