Difference between revisions of "Compiling ScummVM/RPI"

Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 48: Line 48:
  sudo apt-get update
  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get upgrade
  sudo apt-get make pkg-config
  sudo apt-get install -y make pkg-config
Then we export the path where we will copy the directories from the RPi SD card into, and then we manually copy them. One option (shown in the example commands below) is to copy the Raspberry Pi headers and libraries to ''/opt/rpi_root'', but any other path with the right permissions for our user (within common sense) should be ok:
Then we export the path where we will copy the directories from the RPi SD card into, and then we manually copy them. One option (shown in the example commands below) is to copy the Raspberry Pi headers and libraries to ''/opt/rpi_root'', but any other path with the right permissions for our user (within common sense) should be ok:


Line 62: Line 62:
./sysroot-relativelinks.py $RPI_ROOT</nowiki>
./sysroot-relativelinks.py $RPI_ROOT</nowiki>


Note that the last command above is supposed to run the python script <code>sysroot-relativelinks.py</code>. You will need to have python3 installed on your host PC for that. The script assumes a location for your python binary, but that could be a not valid path on your host PC. An alternative to that would be to run:
Note that the last command above is supposed to run the python script <code>sysroot-relativelinks.py</code>. You will need to have python3 installed on your host PC for that. The script assumes a location for your python binary, but that may not be a valid path on your host PC. An alternative to that would be to run:
  $(which python) ./sysroot-relativelinks.py $RPI_ROOT
  $(which python3) ./sysroot-relativelinks.py $RPI_ROOT
Finally, update the ''PATH'' variable to be preceded by the ''RPI_ROOT'' path, since this is required for proper detection of ''libcurl'' related files by ScummVM's ''configure'' script.
Finally, update the ''PATH'' variable to be preceded by the ''RPI_ROOT'' path, since this is required for proper detection of ''libcurl'' related files by ScummVM's ''configure'' script.
  <nowiki>export PATH=$RPI_ROOT:$PATH</nowiki>
  <nowiki>export PATH=$RPI_ROOT:$PATH</nowiki>
1,310

edits

Navigation menu