-
Notifications
You must be signed in to change notification settings - Fork 212
Installing GUIslice on Raspberry Pi
Calvin Hass edited this page Aug 18, 2019
·
14 revisions
Overview >
-
Installing Raspbian and PiTFT configuration
- The following was written for the PiTFT 2.8" display, but a similar setup should accommodate other displays (such as WaveShare)
- Installing PiTFT on Raspberry Pi
-
Installing SDL1.2
-
Installing tslib
- In my experience, it seems that the native SDL touch handling is not very reliable. Instead, I recommend that the tslib library is installed instead:
- Installing tslib for Raspberry Pi
-
Old Archived Installation pages
- The original installation guide pages can be located at:
- Installing PiTFT in LINUX
- Installing SDL 1.2 for Raspberry Pi
- Installing tslib for Raspberry Pi
- Download the GUIslice library
- Clone the repository:
git clone https://github.com/ImpulseAdventure/GUIslice
- Clone the repository:
- Modify the GUIslice config file (
GUIslice_config.h
) in the /src folder to select your device setup- Please refer to Configuring GUIslice for details
- GUIslice comes with a Makefile that can be used directly with the make command, but it is also possible to use cmake.
- For example:
cd examples/linux
make ex02_lnx_btn_txt
- Please refer to Compiling under LINUX for details and alternate options
- Compile the examples as in the previous step
- Run the examples:
sudo ./ex02_lnx_btn_txt