Skip to content

Compiling on Ubuntu 20.10

John Melton edited this page Oct 17, 2021 · 4 revisions

Required packages

The following packages are required for compiling linHPSDR:

sudo apt install libfftw3-dev libgtk-3-dev libasound2-dev libpulse-dev libusb-1.0-0-dev libsoundio-dev

The following packages are required if SOAPYSDR is enabled in the Makefile:

sudo apt install libsoapysdr-dev

Create a directory to clone wdsp and linhpsdr into.

mkdir ~/github

WDSP

linHPSDR uses the WDSP dsp library which needs to be downloaded and compiled.

cd ~/github
git clone https://github.com/g0orx/wdsp.git
cd wdsp
make -j4
sudo make install

Download and Compile linhpsdr

cd ~/github
git clone https://github.com/g0orx/linhpsdr.git
cd linhpsdr
make clean
make -j4
sudo make install

update wdsp or linhpsdr source tree

cd ~/github/wdsp
git pull
cd ~/github/linhpsdr
git pull

If there are no source changes then you should see 'Already up-to-date.' displayed. If there are any changes then it will download them and you should then run 'make clean;make -j4;sudo make install' in each one that has changes.