Skip to content

Instantly share code, notes, and snippets.

@gokr
Created July 12, 2020 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gokr/51c94a9fed5a10507e18cfee193bf214 to your computer and use it in GitHub Desktop.
Save gokr/51c94a9fed5a10507e18cfee193bf214 to your computer and use it in GitHub Desktop.
Howto build ORX for EmuELEC/ARM on Ubuntu in LXC

First get LXC going: http://goran.krampe.se/2017/10/24/nim-crash-course-inside-lxc/

When you got LXC running, then create a machine and log into it:

lxc launch ubuntu:18.04 orx

lxc exec orx -- su --login ubuntu

Then inside Ubuntu:

Freshen up

sudo apt update && sudo apt upgrade

Install tools needed to build

sudo apt-get install gcc make git unzip wget xz-utils libsdl2-dev libsdl2-mixer-dev libfreeimage-dev libfreetype6-dev libcurl4-openssl-dev rapidjson-dev libasound2-dev libgl1-mesa-dev build-essential libboost-all-dev cmake fonts-droid-fallback libvlc-dev libvlccore-dev vlc-bin texinfo premake4 golang

Clone EmuELEC with ORX in it

git clone https://github.com/gokr/EmuELEC.git

Build ORX for ARM in EmuELEC (will take a lot of time since it first builds tons of dependencies)

cd EmuELEC

PROJECT=Amlogic ARCH=arm DISTRO=EmuELEC scripts/build orx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment