Difference between revisions of "Compiling ScummVM/Nintendo DS"

From ScummVM :: Wiki
Jump to navigation Jump to search
(New page: TODO: Write this. For starters, use the information from http://forums.scummvm.org/viewtopic.php?t=3478 to create a first draft.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
TODO: Write this. For starters, use the information from http://forums.scummvm.org/viewtopic.php?t=3478 to create a first draft.
== Compiling ScummVM for Nintendo DS ==
 
== Getting the source ==
* Open a Terminal and type:
 
<pre>git clone git://github.com/scummvm/scummvm.git</pre>
 
== Tools/libraries needed ==
You must have [https://devkitpro.org/wiki/Getting_Started devkitARM] installed. Version r55 is known to work, more recent versions may work, but occasionally introduce non-backward compatibility changes which cause them to break compatibility with ScummVM.
 
You need to install at least the following packages:
<syntaxhighlight lang="bash">
sudo dkp-pacman -Sy
sudo dkp-pacman -S \
    devkitpro-pkgbuild-helpers \
    nds-dev \
    nds-zlib
</syntaxhighlight>
 
== Compiling ScummVM ==
The following command should be run in order to setup your environment variables for cross-compiling:
<syntaxhighlight lang="bash">
source /opt/devkitpro/ndsvars.sh
</syntaxhighlight>
 
To compile ScummVM, issue the following commands inside the scummvm folder:
 
<syntaxhighlight lang="bash">
./configure --host=ds --enable-plugins --enable-all-engines
make
</syntaxhighlight>

Revision as of 11:49, 4 February 2021

Compiling ScummVM for Nintendo DS

Getting the source

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

Tools/libraries needed

You must have devkitARM installed. Version r55 is known to work, more recent versions may work, but occasionally introduce non-backward compatibility changes which cause them to break compatibility with ScummVM.

You need to install at least the following packages:

sudo dkp-pacman -Sy
sudo dkp-pacman -S \
    devkitpro-pkgbuild-helpers \
    nds-dev \
    nds-zlib

Compiling ScummVM

The following command should be run in order to setup your environment variables for cross-compiling:

source /opt/devkitpro/ndsvars.sh

To compile ScummVM, issue the following commands inside the scummvm folder:

./configure --host=ds --enable-plugins --enable-all-engines
make