Difference between revisions of "Compiling ScummVM/RPI"

Jump to navigation Jump to search
Line 30: Line 30:
== Configuring ScummVM ==
== Configuring ScummVM ==


Now we configure scummvm buildsystem so it knows what backend we want and where is our raspberry pi local sysroot living, containing the Raspberry Pi headers and libs the cross-compiler and linker will need. In this example configuration, we disable additional libs, and debug symbols since it's intended for final users:
Now we configure scummvm buildsystem so it knows what backend we want and where is our raspberry pi local sysroot living, containing the Raspberry Pi headers and libs the cross-compiler and linker will need. In this example configuration, we disable additional libs, and debug symbols since it's intended for final users.


RPI_ROOTDIR="/home/manuel/rpi_root" ./configure --host=raspberrypi --enable-gles-rpi --disable-debug --enable-release --enable-optimizations --disable-mt32emu --disable-flac
Depending on whether we want dispmanx or GLES support, we would pass --enable-dispmanx or --enable-gles-rpi parameters to the configure script.
For example, we would run configure like this to build a dispmanx version:
 
RPI_ROOTDIR="/home/manuel/rpi_root" ./configure --host=raspberrypi --enable-dispmanx --disable-debug --enable-release --enable-optimizations --disable-mt32emu --disable-flac
--disable-mad --disable-vorbis --disable-tremor
--disable-mad --disable-vorbis --disable-tremor
--disable-fluidsynth --disable-taskbar --disable-timidity --disable-alsa
--disable-fluidsynth --disable-taskbar --disable-timidity --disable-alsa
25

edits

Navigation menu