SDR development environment construction

Keywords: sudo cmake Python git

SDR development environment construction

Compilation and installation

The installation environment of this paper is used for SDR hardware such as usrp, hackrf, limesdr, etc. the installation system is Ubuntu 14.04.5lts version

Installation dependency

  1. Add cmake source
sudo add-apt-repository ppa:george-edison55/cmake-3.x
  1. Update
sudo apt-get update
sudo apt-get upgrade

  1. Installation dependency
sudo apt-get install -y build-essential cmake git-core autoconf automake libtool g++ python-dev swig pkg-config libfftw3-dev libboost1.55-all-dev python-mako libcppunit-dev libgsl0-dev libusb-dev sdcc libsdl1.2-dev python-wxgtk2.8 python-numpy python-cheetah python-lxml doxygen python-qt4 python-qwt5-qt4 libxi-dev libqt4-opengl-dev libqwt5-qt4-dev libfontconfig1-dev libxrender-dev libusb-1.0 libsqlite3-dev libi2c-dev libwxgtk3.0-dev freeglut3-dev

Compile and install UHD

git clone https://github.com/EttusResearch/uhd
cd uhd/host
mkdir build
cd build
cmake ../
make -j4
sudo make install
sudo ldconfig

Compile and install hackrf support

git clone --recursive https://github.com/mossmann/hackrf
cd hackrf/host
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON
make -j4
sudo make install
sudo ldconfig

Compile and install gnuradio

git clone --recursive https://github.com/gnuradio/gnuradio
cd gnuradio
mkdir build
cd build
cmake ../
make -j4
sudo make install 
sudo ldconfig**

Compile and install soapysdr

git clone --recursive https://github.com/pothosware/SoapySDR
cd SoapySDR
mkdir build
cd build
cmake ../
make -j4
sudo make install
sudo ldconfig

Compile and install Limesuite

git clone --recursive https://github.com/myriadrf/LimeSuite
cd LimeSuite
cd build
cmake ../
make -j4
sudo make install
sudo ldconfig

Compiling and installing gr osmosdr

git clone --recursive https://github.com/osmocom/gr-osmosdr
cd gr-osmosdr
mkdir build
cd build
cmake ../
make -j4
sudo make install
sudo ldconfig

Now that all the necessary tools have been installed, you can connect the hardware for some tests.

Posted by stangoe on Mon, 02 Dec 2019 22:59:05 -0800