Difference between revisions of "Compiling ScummVM/Nintendo DS"

Jump to navigation Jump to search
m
no edit summary
m
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
* Open a Terminal and type:
* Open a Terminal and type:


<pre>git clone git://github.com/scummvm/scummvm.git</pre>
<pre>git clone https://github.com/scummvm/scummvm.git</pre>


== Tools/libraries needed ==
== Tools/libraries needed ==
Line 13: Line 13:
sudo dkp-pacman -Sy
sudo dkp-pacman -Sy
sudo dkp-pacman -S \
sudo dkp-pacman -S \
     devkitpro-pkgbuild-helpers \
     dkp-toolchain-vars \
     nds-dev \
     nds-dev \
     nds-zlib
     nds-zlib
Line 19: Line 19:


== Compiling ScummVM ==
== Compiling ScummVM ==
The following command should be run in order to setup your environment variables for cross-compiling:
The following commands should be run in order to setup your environment for cross-compiling:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
source /opt/devkitpro/devkitarm.sh
source /opt/devkitpro/ndsvars.sh
source /opt/devkitpro/ndsvars.sh
</syntaxhighlight>
</syntaxhighlight>
Line 28: Line 29:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
./configure --host=ds --enable-plugins --enable-all-engines
./configure --host=ds --enable-plugins --enable-all-engines
make
</syntaxhighlight>
Alternatively, you can build with only a single engine enabled using the following commands:
<syntaxhighlight lang="bash">
./configure --host=ds --disable-all-engines --enable-engine=scumm
make
make
</syntaxhighlight>
</syntaxhighlight>
213

edits

Navigation menu