Files
op-pedal/docs/BuildPrerequisites.md
T
2022-04-21 06:03:49 -04:00

1.7 KiB

Build Prerequisites

Run the following commands to install build tools required by the PiPedal build.

# install CMake
sudo apt update
sudo apt install cmake ninja-build

The PiPedal build process also requires version 12 or later of node.js. Type node --version to see if you have a version of node.js installed already. Otherwise run the following commands as root to install the v14.x lts version of node.js:

sudo apt install nodejs npm

If your distribution doesn't provide a suitable version of nodejs, you can install the current LTS version of nodejs with

# install NodeJS latest LTS release.
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs

Run the following commands to install dependent libraries required by the PiPedal build.

sudo apt update
sudo apt install liblilv-dev libboost-dev jackd2 libjack-jackd2-dev libnl-3-dev libnl-genl-3-dev libsystemd-dev catch
sudo apt install libasound2-dev jackd2 uuid-dev
sudo apt install libwebsocketpp-dev authbind
sudo apt install libavahi-client-dev

Installing Sources

If you are using Visual Studio Code, install the C/C++ Extension Pack (Microsoft).

Clone the rerdavies/pipdal package from github. Use the source control tools from Visual Studio Code, or

cd ~/src # or whereever you keep your source repositories. git clone https://github.com/rerdavies/pipedal.git

Run the following command to install and configure React dependencies.

cd ~/src/pipedal
./react-config   # Configure React NPM dependencies.

<< Building PiPedal from Source | Up | The Build System >>