Difference between revisions of "Compiling ScummVM/RPI"

Jump to navigation Jump to search
Line 20: Line 20:
Of course, you'll have to install any additonal libs from Raspbian running of the Pi before expecting them to be available, so if you compile scummvm with FLAC support, you should have installed the libflac development libs on the Pi first.
Of course, you'll have to install any additonal libs from Raspbian running of the Pi before expecting them to be available, so if you compile scummvm with FLAC support, you should have installed the libflac development libs on the Pi first.


So let's go with the headers and libs copy. I copied them to /home/manuel/rpi_root:
First we export the path where we will copy these into, and then we will manually copy them. I choose /opt/rpi_root, but any other path with the right permissions for your user and common sense is going to be ok:


cp -R <SD_mountpoint_directory>/usr /home/manuel/rpi_root
export $RPI_ROOT /opt/rpi_root


cp -R <SD_mountpoint_directory>/lib /home/manuel/rpi_root
cp -R <SD_mountpoint_directory>/usr $RPI_ROOT


cp -R <SD_mountpoint_directory>/opt /home/manuel/rpi_root
cp -R <SD_mountpoint_directory>/lib $RPI_ROOT
 
cp -R <SD_mountpoint_directory>/opt $RPI_ROOT
 
Now we need to setup the cross-building sdl-config so it's used instead on the host system's sdl-config script. Edit $RPI_ROOT/usr/bin/sdl-config and change the prefix line to:
 
prefix=/opt/rpi-root/usr


== Configuring ScummVM ==
== Configuring ScummVM ==
25

edits

Navigation menu