Compiling piHPSDR on Ubuntu 20.10 system wthout GPIO - g0orx/pihpsdr GitHub Wiki

Install System Requirements

sudo apt install -y build-essential git

Install pihpsdr pre-requisites

sudo apt install -y libfftw3-dev libgtk-3-dev libpulse-dev libpulse-mainloop-glib0 libusb-1.0-0-dev

Fetch WDSP and piHPSDR source code from github

I would recommend creating a directory '''github''' to download the source into:

mkdir github
cd github

Download the source:

git clone https://github.com/g0orx/wdsp.git
git clone https://github.com/g0orx/pihpsdr.git

Compile WDSP

cd ~/github/wdsp
make clean
make -j4
sudo make install

Copy libwdsp.so to the pihpsdr install directory:

cp libwdsp.so ~/github/pihpsdr/release/pihpsdr

Edit the Makefile to comment out the GPIO option.

cd ~/github/pihpsdr

Using your favourite text editor load Makefile.

Find the line with:

GPIO_INCLUDE=GPIO

Comment out the line:

#GPIO_INCLUDE=GPIO

Save the save.

Compile pihpsdr

cd ~/github/pihpsdr
make clean
make -j4
make release

Install pihpsdr

cd ~
tar xvf ~/github/pihpsdr/release/pihpsdr.tar
cd pihpsdr
sh ./install.sh

To enable the Desktop short cut, Right mouse click on the icon created on the Desktop and select Allow Launching.

⚠️ **GitHub.com Fallback** ⚠️