-
Notifications
You must be signed in to change notification settings - Fork 214
Installing GUIslice on Raspberry Pi
Calvin Hass edited this page Jan 13, 2019
·
14 revisions
Return to: GUIslice 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- See the section Configuring GUIslice for details
GUIslice comes with a Makefile that can be used directly with the make command. However, it is also possible to auto-generate a Makefile via cmake
. The following summarizes the two approaches.
cd examples/linux
make all
cd examples/linux
cmake .
make
- TODO: Fix the recommendations here to include a make target and include
examples/CMakeLists.txt
- Compile the examples
- Run the examples
sudo ./ex02_lnx_btn_txt