Post popolari in questo blog
Compile Plug on Ubuntu 21.10
I'm not a developer and the last time I compiled a C source code was in the 90's on Commodore Amiga, using GCC. Finding all the packages needed for the compilation on my Ubuntu 21.10 laptop took a long time and I had to understand how CMakefile works, but in the end I succeded! To compile Plug from source code I needed to install some packages: apt-get install unzip cmake libusb-1.0-0-dev build-essential pkg-config googletest qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libgmock-dev 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 When the compilation completed, I run the executable: plug
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
Posta un commento