• [M1KTA] Installing GQRX and SDR++ on RaspberryPi

    From M1KTA via rec.radio.amateur.moderat@21:1/5 to All on Thu Oct 14 03:03:27 2021
    XPost: rec.radio.amateur.moderated, uk.radio.amateur, free.uk.amateur-radio

    M1KTA's QRP ham radio blog

    ///////////////////////////////////////////
    Installing GQRX and SDR++ on RaspberryPi

    Posted: 13 Oct 2021 06:02 AM PDT http://m1kta-qrp.blogspot.com/2021/10/installing-gqrx-and-sdr-on-raspberrypi.html


    Installing GQRX and SDR++ on RaspberryPi

    These are all the steps I actually performed.

    sudo apt update
    apt list --upgradable
    sudo apt install gqrx-sdr
    rtl_test -t
    gqrx

    So GQRX sort of worked...

    So SDR++

    Grab the source
    git clone https://github.com/AlexandreRouma/SDRPlusPlus.git
    ls
    cd SDRPlusPlus
    mkdir build
    cd build/
    cmake ..

    so erroring as missing these packages....fftw3 glfw glew libvolk

    so to install them...
    sudo apt-get install freeglut3
    sudo apt-get install freeglut3-dev
    cmake ..
    sudo apt install libglew-dev
    cmake ..
    sudo apt install glfw3
    sudo apt install libglfw3-dev
    cmake ..
    sudo apt install libairspy-dev
    cmake ..
    sudo apt install libairspyhf-dev
    cmake ..
    sudo apt install libhackrf-dev
    cmake ..
    sudo apt install libsoapysdr-dev
    cmake ..

    libiio missing....so get that compile and install

    cd
    git clone https://github.com/analogdevicesinc/libiio.git
    cd libiio/
    cmake ./
    See what errors are (there were some)
    cat /home/pi/libiio/CMakeFiles/CMakeOutput.log

    install more prerequisites some were already there so it ignores them (from
    an SDR pluto install doc)
    sudo apt-get install libxml2 libxml2-dev bison flex libcdk5-dev cmake
    sudo apt-get install libaio-dev libusb-1.0-0-dev libserialport-dev
    libxml2-dev libavahi-client-dev doxygen graphviz

    Try the libiio build again
    cmake ./
    make all
    sudo make install
    Add the path bit
    PATH=/usr/lib/:$PATH
    check it is working iio_info

    go back to SDR _++ again
    cd ..
    cd SDRPlusPlus/
    cd build/
    cmake ..

    so more missing get and install them

    cd
    git clone https://github.com/analogdevicesinc/libad9361-iio.git
    cd libad9361-iio
    cmake ./
    make
    sudo make install
    cd ~/SDRPlusPlus/build/
    cmake ..

    still more missing

    wget http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-5.1.0.tar.gz
    mv rtaudio-5.1.0.tar.gz ~/Downloads/
    cd
    cd Downloads/
    tar -zxvf rtaudio-5.1.0.tar.gz
    cd rtaudio-5.1.0/
    mkdir build && cd build
    cmake ../
    make
    sudo make install

    Back to SDR++
    cd
    cd SDRPlusPlus/build/
    cmake ..
    this time no errors
    used N=4 as 4 cpu make -j 4
    It maxed out the CPU for a few mins
    sudo make install

    That's it SDR++ and GQRX both installed

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)