-
Notifications
You must be signed in to change notification settings - Fork 124
Compiling Overview
Linux (Ubuntu)
- svn://ps2dev.org/psp/trunk/psptoolchain
- svn://ps2dev.org/psp/trunk/zlib
- svn://ps2dev.org/psp/trunk/libpng
http://wiki.open2x.org/open2x/wiki/index.php
- Grab Toolchain
- Grab Prebuilt Libraries
http://sourceforge.net/projects/cadcdev/
Install necessary SDL Components with Synaptic Package Manager
- SDL-devel (Debian/Ubuntu name: libsdl2-dev)
- SDL_gfx-devel (Debian/Ubuntu name: libsdl2-gfx-dev)
- zlib-devel (Debian/Ubuntu name: zlib1g-dev)
- libpng-devel (Debian/Ubuntu name: libpng12-dev)
- libvorbis-dev
- libvpx-dev
For 64-bit Ubuntu/Debian, download getlibs (http://ubuntuforums.org/showthread.php?t=474790) and use it to install the SDL components listed above instead of Synaptic. For both 32-bit and 64-bit systems, yasm is also needed.
Install necessary SDL components from http://libsdl.org/download-2.0.php
Build.sh - Script file that compiles using various SDK environments (PSP, Dreamcast, Gp2x, Linux, Windows, and Wii)
- Windows
- Tools (As of 2017-04-01 Tools folder is no longer a separate repository. Just check out from the OpenBOR repository and Tools will be included.)
Build.bat - Batch file that compiles all platforms using prebuilt SDK(s)
By default the build script will attempt to compile all available platforms. To compile a single platform, run bash with build.sh <platform ID>
.
For Windows, open engine/build.bat and modify bash.exe build.sh all
, replacing all
with the <platform ID>
of your choice.
Platform | ID |
---|---|
All Platforms | All |
Darwin | 10 |
Linux | 4 |
PSP | 1 |
Vita | 2 |
WII | 7 |
Windows | 5 |
Completed binaries will be placed in engine/releases folder.