Project

General

Profile

Actions

LimeSDR Build From Source » History » Revision 2

« Previous | Revision 2/7 (diff) | Next »
laforge, 06/13/2018 02:13 PM
add disclaimers about binary packages and user-contributed info


Building OsmoTRX for LimeSDR from source (using Ubuntu 16.04)

Binary Packages

Osmocom provides binary packages for several flavors of Debian and Ubuntu GNU/Linux on a variety of architectures (i586, x86_64, armhf, armv7l). Unless you are a software developer interested in developing on Osmocom, it is recommended you use those packages instead of building from source.

For more details see Binary_Packages

DISCLAIMER

This page is user-contributed information, and not official documentation by the Osmocom project. It might be outdated or inaccurate.
Please help by improving this document, or reporting any issues to the relevant mailing list.

Install LimeSuite, UHD and SoapyUHD

sudo add-apt-repository -y ppa:myriadrf/drivers
sudo apt-get update

#install core library and build dependencies
sudo apt-get install git g++ cmake libsqlite3-dev 

#install hardware support dependencies
sudo apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev gnuplot

#install graphics dependencies
sudo apt-get install libwxgtk3.0-dev freeglut3-dev

Install LimeSuite

git clone https://github.com/myriadrf/LimeSuite.git
cd LimeSuite
mkdir builddir && cd builddir
cmake ../
make -j4
sudo make install
sudo ldconfig

cd LimeSuite/udev-rules
sudo sh ./install.sh

Type “LimeSuiteGUI” on terminal to check GUI is running

Install UHD

(with all dependencies)

sudo apt-get -y install git swig cmake doxygen build-essential libboost-all-dev libtool libusb-1.0-0 libusb-1.0-0-dev libudev-dev libncurses5-dev libfftw3-bin libfftw3-dev libfftw3-doc libcppunit-1.13-0v5 libcppunit-dev libcppunit-doc ncurses-bin cpufrequtils python-numpy python-numpy-doc python-numpy-dbg python-scipy python-docutils qt4-bin-dbg qt4-default qt4-doc libqt4-dev libqt4-dev-bin python-qt4 python-qt4-dbg python-qt4-dev python-qt4-doc python-qt4-doc libqwt6abi1 libfftw3-bin libfftw3-dev libfftw3-doc ncurses-bin libncurses5 libncurses5-dev libncurses5-dbg libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev python-wxgtk3.0 git-core libqt4-dev python-numpy ccache python-opengl libgsl-dev python-cheetah python-mako python-lxml doxygen qt4-default qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev gtk2-engines-pixbuf r-base-dev python-tk liborc-0.4-0 liborc-0.4-dev libasound2-dev python-gtk2 libzmq-dev libzmq1 python-requests python-sphinx libcomedi-dev python-zmq

git clone https://github.com/EttusResearch/uhd
cd uhd

git tag -l
...
release_003_009_004
release_003_009_005
release_003_010_000_000
# Example: For UHD 3.10.000.000: 
  git checkout release_003_010_000_000 (get the latest if fine)

cd host
mkdir build
cd build 
cmake ../
make
sudo make install
sudo ldconfig

export LD_LIBRARY_PATH=/usr/local/lib

try run command to find LimeSDR :

uhd_find_devices

Install SoapySDR and SoapyUHD

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

git clone https://github.com/pothosware/SoapyUHD
cd SoapyUHD
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

Now build osmo-trx

mkdir osmo
cd osmo
git clone https://github.com/osmocom/libsomocore
cd libsomocore
autoreconf -fi
./configure
make -j5
sudo make install
sudo ldconfig

mkdir osmo
cd osmo
git clone https://github.com/osmocom/osmo-trx
cd osmo-trx
autoreconf -fi
./configure
make -j5
sudo make install
sudo ldconfig

run on terminal: (test and see its connect with SoapyUHD and UHD)

osmo-trx-uhd -C ~/limesdr.cfg

(configuration file attached below)
Files (1)
limesdr.cfg limesdr.cfg 283 Bytes limesdr.cfg from duo_kali laforge, 06/13/2018 02:11 PM

Updated by laforge almost 6 years ago · 2 revisions

Add picture from clipboard (Maximum size: 48.8 MB)