Skip to content

Compiling Overview

Damon V. Caskey edited this page May 14, 2018 · 6 revisions

Compiling using your own SDK(s)

Requirements

Linux (Ubuntu)

PSPSDK

  • svn://ps2dev.org/psp/trunk/psptoolchain
  • svn://ps2dev.org/psp/trunk/zlib
  • svn://ps2dev.org/psp/trunk/libpng

Open2X:

http://wiki.open2x.org/open2x/wiki/index.php

  • Grab Toolchain
  • Grab Prebuilt Libraries

KOS

http://sourceforge.net/projects/cadcdev/

Linux

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)

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.

Windows

http://www.mingw.org/

Install necessary SDL components from http://libsdl.org/download-2.0.php

Execution

Build.sh - Script file that compiles using various SDK environments (PSP, Dreamcast, Gp2x, Linux, Windows, and Wii)

Compiling using prebuilt SDK(s)

Requirements

  • 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.)

Execution:

Build.bat - Batch file that compiles all platforms using prebuilt SDK(s)

Notes

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.

Clone this wiki locally