LimeSDR Build From Source » History » Revision 4
Revision 3 (laforge, 08/17/2018 02:17 PM) → Revision 4/7 (pespin, 08/17/2018 02:48 PM)
h1. Building OsmoTRX for LimeSDR from source
h2. Build osmo-trx-lms
Building OsmoTRX or its dependencies from source is not required unless you want to build a specific version or test some modifications. If that's not your case and your distro is supported, please use [[cellular-infrastructure:MacroBinaryPackages]].
<pre>
### Build LimeSuite
git clone https://github.com/myriadrf/LimeSuite.git
cd LimeSuite
mkdir builddir && cd builddir
cmake ../
make -j5
sudo make install
sudo ldconfig
cd ../
sudo sh LimeSuite/udev-rules/install.sh
cd ../
### Build libosmocore
git clone git://git.osmocom.org/libosmocore
cd libsomocore
autoreconf -fi
./configure --without-uhd --with-lms
make -j5
sudo make install
sudo ldconfig
cd ../
### Build osmo-trx-lms
git clone git://git.osmocom.org/osmo-trx
cd osmo-trx
autoreconf -fi
./configure
make -j5
sudo make install
sudo ldconfig
cd ../
</pre>
run on terminal: (if rt-prio is set in .cfg file, running as root may be required).
<pre>
osmo-trx-lms -C osmo-trx.git/doc/examples/osmo-trx-lms/osmo-trx-limesdr.cfg
</pre>
h2. Old osmo-trx-uhd for LimeSuite
This page used to contain instructions on how to build osmo-trx[-uhd] with uhd, soapy-uhd, soapysdr and LimeSuite on an Ubuntu 16.04.
Since meanwhile, @osmo-trx-lms@ has been introduced, there is no longer any need for this complex chain of dependency. With @osmo-trx-lms@, @osmo-trx@ can directly use LimeSuite without any intermediaries such as UHD, SoapyUHD, SoapySDR or the like. If you're interested in the previous instructions for the older versions, please look at the History of this wiki page using the "History" tab above.
Also note:
{{include(cellular-infrastructure:MacroBinaryPackages)}}