Haiku Compilation / Development Guide¶
This compilation guide will teach you how to build RetroArch for Haiku.
It is more than recommended to keep your Haiku system up to date and use Nightlybuilds with upgraded packages.
This video covers a quick demonstration of these subjects;
Be sure to read instructions that are given on this page.
The following software needs to be installed:
- Haiku standard development packages (haiku_devel)
- SDL libraries and development packages (libsdl_devel / libsdl2_devel)
- X11 libraries and development packages (libx11_devel, libxau_devel, libxext_devel)
- Mesa libraries and development packages (mesa_devel, glu_devel)
- Jpeg, PNG, Zlib libraries and development packages (jpeg_devel, libpng16_devel, zlib_devel)
- libxml2_devel - For XML shaders and cheat support.
- freetype_devel - TTF font rendering
- ffmpeg_devel - FFmpeg recording
Clone RetroArch's repository from GitHub
git clone https://github.com/libretro/RetroArch.git retroarch cd retroarch
For subsequent builds you only need to pull the changes from the repo
cd retroarch git pull
To update your local copy from the repository run git pull
Make sure gcc is installed, then run:
1 2 3 4 5 6 7
# Build ./configure --prefix=~/config/non-packaged/ --datarootdir=~/config/non-packaged/data/ --with-man_dir=~/config/non-packaged/documentation/man/ make # Install make install # Run retroarch
The easiest way to fetch all the cores is to use libretro-super. Run
The easiest way to build all the cores is to use libretro-super.
To build all cores for Haiku, run
In case you only want to build one and/or more cores instead of all, you can specify the cores you want to build after the first command in no particular order. E.g.:
./libretro-build.sh snes9x2010 fceumm
Once finished, you can find the libretro cores inside directory