Ham Radio and Linux - Building SDR++ on the Raspberry Pi from source code.

22,278
0
Published 2021-09-19
Link to the github page:
github.com/AlexandreRouma/SDRPlusPlus

My modified version of the script:

#!/bin/sh
Script authored by Alexandre Rouma, tested and modified by Kevin Loughin, KB9RLW, Sept 15th 2021
set -e

[ $(id -u) = 0 ] && echo "Please do not run this script as root" && exit 100

echo "Installing dependencies"
sudo apt update
sudo apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libglew-dev libvolk1-dev libsoapysdr-dev libairspyhf-dev libairspy-dev libiio-dev libad9361-dev librtaudio-dev libhackrf-dev librtlsdr-dev libbladerf-dev liblimesuite-dev p7zip-full wget
get the source
cd ~/Desktop
git clone github.com/AlexandreRouma/SDRPlusPlus
cd SDRPlusPlus

echo "Preparing build"
mkdir -p build
cd build
cmake .. -DOPT_BUILD_LIMESDR_SOURCE=ON -DOPT_BUILD_SDRPLAY_SOURCE=ON

echo "Building"
make

echo "Installing"
sudo make install

echo "Done!"

All Comments (21)
  • @aandpman
    WooHOO! I just did it on 3 of my Pi's! 2 Pi4's * a Pi3. It worked, after I made sure I edited the script to eliminate SDRPlay (I use RTL-SDR's)... I didn't have need to install the SDRPlay api to get my stuff going. Thanks for a great instructional vid. :-)
  • @HyyskanPolttaja
    Thanks Kevin! I compiled Sdr++ on my RPI4 and it now works with my SDRPlay RSP2.
  • @briantooze3415
    Hi Kevin, Thank you for this video. I failed to get the modified script to run so I followed your Command Line instructions which worked great. Like you, I found some dependencies missing but through your guidance worked my way through the problems. I now have SDR++ running on my Pi4. Thanks again. Brian.
  • @davidh5645
    I absolutely love these types of videos from you!
  • @spytromics
    Great video. Your screen capture software is using 93% of one core, so SDR++ should be OK in normal use. Also, your Raspbian is so old that it's no longer called that! It's now Raspberry Pi OS. The new OS also supports booting from an SSD drive on a Pi 4, which is much faster than a SD card. I really enjoy your videos. Thanks so much!
  • @ericblaine1316
    Worked perfectly with the quick mods you mentioned to the library. Installed on Pi 4 with a 4” touchscreen. Thanks for the video and instruction.
  • @SDR-DXobserver
    Kevin, thanks for making this happen. It's nice to see a "real" usefull and comprehensive SDR control program running on a Pi4. I had SDR++ running on Win10 and the Pi version is a real asset. Thanks to you and Alexandre for all the efforts!
  • @StefanMX
    Despite being an absolute beginner to Linux/Raspberry I got it to work. I connected the ADALM Pluto. After reducing the bandwidth to 1Mhz, reducing the audio rate and disabling the waterfall the Pluto is working fine. The Arm processor can not keep up with the default settings. Greetings from Greece.
  • @pincus321
    Thank you for your efforts here Kevin, I will try this on my Pi as a result of your encouragement
  • @dvcrash
    Love it! Thanks for sharing Kevin. Got to love Linux and got to love those Pi's!!
  • @derekdowns6275
    Thanks for your work & working with the author! This makes my day!
  • @MrWeavis
    Thank you Kevin for a job well done. It's a pleasure to have a great SDR program running on my Pi 4 working with my AirspyHF+.
  • @PaulaBean
    Excellent video. Thanks for fleecing all these things out!
  • @chrisherd991
    Thank you for putting this together, I cant wait to do this for my sdrplay duo.
  • @Jake_WY7JMS
    1/21/2022 - I don't see anything referencing his GIT in his RPI script. Glad you emphasized about what you added and included your changes in the description of your video here.
  • @PaulaBean
    7:29 the terminal offers 'tab completion', you can just type the first few characters of a filename (enough to uniquely identify the file) and press the TAB key and the terminal supplies the rest of the filename ;-)
  • @geofham8332
    Hi, enjoyed the video Kevin, many thanks. Still learning here. From Nr Liverpool UK
  • Thanks for video building sdrpp, regards from Argentina, Bahia Blanca. LU4EOU
  • @FlingerFilms
    Haha Ironically.. I wrote a script to do this also.. I mentioned to Alexandre he should have an RPI build script. πŸ˜‰ He's pretty smart.. very busy.. Definitely support the SDR++ Patreon
  • @bobwong8268
    πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘ Great! Thanks!