Compile SDRPlusPlus on Arch
Dependencies
- ZStd
- libvolk
- glfw
- libglvnd (opengl)
- cmake
- fftw
- mesa
- airspy
- airspyhf
- libsdrplay
- libusb
- soapysdr
- soapyhackrf
- libad9361
- portaudio
SDRPP plugins/modules dependencies
- libairspyhf
- librtaudio (rtaudio on pacman)
- libiio
- librtlsdr
- libairspy
sh
sudo pacman -Sy airspyhf-git bladerf codec2 libad9361 libiio libsdrplay limesuite rtaudio rtl-sdr libglvnd libusb soapysdr soapyhackrf libad9361 portaudio
Compile airspyhf
sh
https://aur.archlinux.org/airspyhf-git.git
cd ./airspyhf-git/
makepkg -si
Compile librtlsdr
sh
git clone https://aur.archlinux.org/rtl-sdr-librtlsdr-git.git
cd ./rtl-sdr-librtlsdr-git/
makepkg -si
compile libsdrplay
sh
git clone https://aur.archlinux.org/libsdrplay.git
cd ./libsdrplay/
makepkg -si
Compile
sh
sudo cmake -S . -B ./build/ -DOPENGL_INCLUDE_DIR=/usr/include/GL -DOPT_BUILD_PORTAUDIO_SINK=ON -DOPT_BUILD_NEW_PORTAUDIO_SINK=ON -DOPT_BUILD_WEATHER_SAT_DECODER=OFF -DCMAKE_INSTALL_PREFIX=install
udo cmake --build ./build --config Release --target ./install -j 12
Troubelshooting
GL/gl.h not found
You can use pacman to find which package importGL/gl.h
sh
pacman -Qo /usr/include/GL/gl.h