Skip to content

Installing GUIslice on Raspberry Pi

Calvin Hass edited this page Jan 13, 2019 · 14 revisions

Return to: GUIslice Overview

Installing & Running on Raspberry Pi

Installing Prerequisites

Installing GUIslice

  • Download the GUIslice library
    • Clone the repository: git clone https://github.com/ImpulseAdventure/GUIslice
  • Modify the GUIslice config file (GUIslice_config.h) in the /src folder

Compiling GUIslice

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.

Method 1: Compiling with built-in Makefile

cd examples/linux
make all

Method 2: Auto-generating Makefile with cmake

cd examples/linux
cmake .
make
  • TODO: Fix the recommendations here to include a make target and include examples/CMakeLists.txt

Running GUIslice

  • Compile the examples
  • Run the examples
sudo ./ex02_lnx_btn_txt
Clone this wiki locally