From 4b3f7414e07c37501f474aa8288526a4d4b1cb83 Mon Sep 17 00:00:00 2001 From: Chips Date: Wed, 3 Feb 2016 19:46:32 +0000 Subject: [PATCH] Update readme with Jessie compilation hints --- README.md | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 525d64e7..e0057d42 100644 --- a/README.md +++ b/README.md @@ -19,15 +19,34 @@ Use dispmanX for fast scaling and double buffering. Enable hat usage on joystick. Add Sony 6axis joystick workaround. -How to compile on Raspbian: - You need to install gcc-4.8 (or edit Makefile) and install some dev package. + +How to compile on Raspbian Jessie: + + Install following packages: + + sudo apt-get install libsdl1.2-dev + sudo apt-get install libguichan-dev + sudo apt-get install libsdl-ttf2.0-dev + sudo apt-get install libsdl-gfx1.2-dev + + Then for Raspberry Pi 2: + + make + + Or for Raspberry Pi 1: + + make PLATFORM=rpi1 + + + +How to compile on Raspbian Whezzy: + + You need to install same packages as Jessie (see above) + and a more updated gcc (otherwise alter Makefile). In order to do this enter the following in command line: sudo apt-get install g++-4.8 - sudo apt-get install libsdl1.2-dev - sudo apt-get install libsdl-gfx1.2-dev - sudo apt-get install libsdl-ttf2.0-dev - sudo apt-get install libguichan-dev + Then for Raspberry Pi 2: