This document will guide you through installing SDR applications on the platform built in the document: Installing drivers and support for the SDRplay RSP1A on a Raspberry Pi and depends on that installation.
This document is intended to be followed in the order it is written. If you want to skip installing one of applications, there may be some missing prerequisites.
sudo apt install mumble mumble-server
sudo apt-get install protobuf-compiler libopus-dev libspeexdsp1 libspeexdsp-dev libjpeg-turbo8-dev libjpeg8-dev libconfig++9v5 libconfig++-dev libftdi1 libftdi-dev libsndfile1-dev libsndfile1 libjpeg-dev libprotoc-dev
cd ~/ git clone https://github.com/qradiolink/qradiolink cd qradiolink/ # To get the latest version with recent changes (instead of git checkout master): # git checkout next # To get the normal release git checkout master sh ./build_debian.sh
build/qradiolink # or from anywhere /home/pi/qradiolink/build/qradiolink
cd ~/ tar -zxvf hamlib-4.1.tar.gz cd hamlib-4.1 ./configure make -j 4 sudo make install sudo ldconfig
sudo apt-get install freeglut3 freeglut3-dev libgtk2.0-dev libgtk-3-dev libtinyxml2.6.2v5
cd ~/ git clone https://github.com/jgaeddert/liquid-dsp cd liquid-dsp ./bootstrap.sh ./configure make -j 4 sudo make install sudo ldconfig
sudo apt-get install libasound-dev portaudio19-dev cd ~/ Download http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-5.1.0.tar.gz tar -zxvf rtaudio-5.1.0.tar.gz cd rtaudio-5.1.0 # ./configure --help # display all the available options ./configure --with-jack --with-alsa --with-pulse mkdir build cd build cmake ../ make -j 4 sudo make install sudo ldconfig cd tests # Try one of these to see if it will play something. Press CTRL-C to exit. ./playsaw 1 48000 ./playsaw 1 44100 ./playsaw 2 44100 # 2 different sawtooth waveforms, one in each speaker # If you don't hear a sound from any of these, it may have selected the headphone output. # Set speakers as default pacmd set-default-sink 0
sudo apt install libgtk2.0-dev libgtk-3-dev
cd ~/ git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git cd wxWidgets/ mkdir -p ~/Develop/wxWidgets-staticlib ./autogen.sh ./configure --with-opengl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --disable-sdltest --enable-unicode --enable-display --enable-propgrid --disable-webview --disable-webviewwebkit --prefix=`echo ~/Develop/wxWidgets-staticlib` CXXFLAGS="-std=c++0x" make -j4 sudo make install sudo ldconfig
cd ~/ git clone https://github.com/cjcliffe/CubicSDR.git cd CubicSDR mkdir build cd build # Works with HDMI, Headphones and Default cmake ../ -DOTHER_LIBRARIES:FILEPATH=/usr/lib/gcc/arm-linux-gnueabihf/8/libatomic.so -DCMAKE_BUILD_TYPE=Release -DwxWidgets_CONFIG_EXECUTABLE=~/Develop/wxWidgets-staticlib/bin/wx-config -DUSE_HAMLIB=1 -DUSE_AUDIO_PULSE=0 -DUSE_AUDIO_OSS=0 -DUSE_AUDIO_ALSA=1 make -j 4 # You can now run the build from the folder, note if you're on 64-bit linux it will be in x64/ cd x86/ ./CubicSDR # Install CubicSDR (and launcher in Applications menu) sudo make install sudo ldconfig
# portaudio is optional sudo apt install portaudio19-dev
export CXXFLAGS='-O2 -march=native -mtune=native' export CFLAGS='-O2 -march=native -mtune=native' cd ~/ git clone https://github.com/csete/gqrx.git gqrx cd gqrx mkdir build cd build cmake .. make -j 4 sudo make install sudo ldconfig
sudo mkdir /usr/local/include/rtaudio sudo cp /usr/local/include/RtAudio.h /usr/local/include/rtaudio/
sudo apt-get install libopenal-dev libalut0 libalut-dev
cd ~/Desktop git clone https://github.com/righthalfplane/SdrGlut.git cd SdrGlut make -f makefileUbunta Run the program: ./sdrglut.x or ~/Desktop/SdrGlut/sdrglut.x
sudo featherpad /etc/openal/alsoft.conf
sudo apt-get install subversion libreadline-dev libudev-dev # These packages should have been installed previously: # sudo apt-get install gcc g++ gfortran libgfortran5 libpulse-dev pulseaudio # Only if you did not install Hamlib: # sudo apt-get install libhamlib-dev
cd ~/ tar -zxvf wsjtx-2.3.1.tgz cd wsjtx-2.3.1 mkdir build cd build/ cmake -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF .. cmake --build . sudo cmake --build . --target install sudo ldconfig
sudo apt-get install avahi-daemon libavahi-client-dev
cd ~/ git clone https://github.com/pothosware/SoapyRemote.git cd SoapyRemote mkdir build cd build cmake .. make -j 4 sudo make install sudo ldconfig
SoapySDRServer --bind
SoapySDRServer --bind="0.0.0.0:1234" # IPv6 address URLs are also supported: SoapySDRServer --bind="[::]:1234"
cd ~/ git clone https://github.com/SDRplay/RSPTCPServer.git cd RSPTCPServer mkdir build cd build cmake .. make sudo make install sudo ldconfig