Local Compilation

Perquisites

For the local compilation you need to install LSL on your local machine. On Ubuntu and other Debian-based machines you can do this by downloading and installing the latest release of Liblsl. The filenames refer to Ubuntu versions (e.g. liblsl-1.13.1-Linux64-bionic.deb is for Ubuntu 18.04 - Bionic Beaver). For other Unix machines you need to manually extract the files and place them in the correct system directories (probably /usr/.

Compilation

You can compile the LuckyLoop application locally by running make from the LuckyLoop root folder.

Cross Compilation

Perquisites

The application runs on a Toradex Colibri iMX7 board.

For cross-compilation, you need to setup the respective crosscompilation toolchain. Follow the steps as outlined by toradex here.

Then download and unzip the liblsl32.so an place it in _build/

Compilation

You can compile the LuckyLoop application for the device by running make cross from the LuckyLoop root folder.