Compile Plug on Raspberry pios 11

Finding all the packages needed for the compilation on my raspberry pios 11 took less time than ubuntu.

To compile Plug from source code I needed to install the following packages:

apt-get install cmake libusb-1.0-0-dev googletest qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libgmock-dev 

apt suggests to install also cmake-doc ninka-build 

I got the source code from GitHub:
wget https://github.com/offa/plug/archive/refs/heads/master.zip

Then I unzipped the code and cd to the source folder; from source folder I run the following commands:

mkdir build && cd build 
cmake .. 
make 
make unittest 
make install

Now I can edit and modify the original source code.

Please note: the compilation process required more time on Raspberry than on my i5 laptop

Commenti

Post popolari in questo blog

Build the footswitch (part 2)

Build the footswitch (part 1)