Updated the README.md

Added instructions for building on a non-RPi device.
This commit is contained in:
Aloshi 2012-09-18 21:05:20 -05:00
parent 0468e64396
commit b225d0c9c8

View file

@ -11,6 +11,8 @@ A cool guy named petrockblog made a script which automatically installs RetroArc
Building
========
**On the Raspberry Pi:**
EmulationStation has a few dependencies. For building, you'll need SDL 1.2, FreeImage, FreeType, and Boost.Filesystem, which can easily be obtained with apt-get:
```
sudo apt-get install libsdl1.2-dev libboost-filesystem-dev libfreeimage-dev libfreetype6-dev
@ -18,6 +20,16 @@ sudo apt-get install libsdl1.2-dev libboost-filesystem-dev libfreeimage-dev libf
There are also a few libraries already on the RPi (located in /opt/vc/, like the Broadcom libraries, EGL, and GLES). You can build EmulationStation by simply running `make`.
**On something else:**
EmulationStation can also be built on a "normal" Linux system. You'll need the same libraries listed above:
```
sudo apt-get install libsdl1.2-dev libboost-filesystem-dev libfreeimage-dev libfreetype6-dev
```
You'll also need OpenGL. I don't know the proper package name, but you'll need `/usr/include/GL/gl.h` and `libGL`. You probably already have it. You can build with `make -f Makefile.x86` (badly named Makefile, I know).
Configuring
===========