An example of implementing a simple GUI to display output from a Structure Core sensor.
This repository contains files directly from the Structure SDK for Linux, and has been tested on Ubuntu 18.04 (LTS) with a x86_64
architecture. It may be ported to other platforms.
First, clone this repository:
git clone [email protected]:shantanubala/structure-gui.git
Then, install the dependencies:
sudo apt-get update
sudo apt-get install -y cmake build-essential libc6-dev libstdc++-5-dev libgl1-mesa-dev libegl1-mesa-dev libusb-1.0-0-dev libxcursor-dev libxinerama-dev libxrandr-dev
Enable driver access:
bash Driver/install-structure-core-linux.sh
All of the build steps have been combined into a single script to create a build:
cd Scripts
bash build.sh
Enter the directory for builds:
cd Builds/<config>-<arch>/Source
On release builds for Ubuntu, that would be:
cd Builds/release-x86_64/Source
You can re-compile this specific portion of the code by running the Makefile
:
make
Or run the compiled binary:
./Playground