Project

General

Profile

LimeSDR Build From Source » History » Version 7

laforge, 07/25/2022 07:30 AM
gitea

1 3 laforge
h1. Building OsmoTRX for LimeSDR from source
2 1 laforge
3 4 pespin
h2. Build osmo-trx-lms
4
5
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]].
6
7
<pre>
8
### Build LimeSuite
9
git clone https://github.com/myriadrf/LimeSuite.git
10
cd LimeSuite
11
mkdir builddir && cd builddir
12
cmake ../
13
make -j5
14
sudo make install
15
sudo ldconfig
16
cd ../
17
sudo sh LimeSuite/udev-rules/install.sh 
18
cd ../
19
20
### Build libosmocore
21 7 laforge
git clone https://gitea.osmocom.org/osmocom/libosmocore
22 4 pespin
cd libsomocore
23
autoreconf -fi
24 6 duo_kali
./configure 
25 4 pespin
make -j5
26
sudo make install
27
sudo ldconfig
28
cd ../
29
30
### Build osmo-trx-lms
31 7 laforge
git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-trx
32 4 pespin
cd osmo-trx
33
autoreconf -fi
34 6 duo_kali
./configure --without-uhd --with-lms
35 4 pespin
make -j5
36
sudo make install
37
sudo ldconfig
38
cd ../
39
</pre>
40 5 pespin
41 4 pespin
You can then run osmo-trx-lms as explained in [[LimeSDR_Family#Running-osmo-trx-lms-with-LimeSDR]].
42
43
h2. Old osmo-trx-uhd for LimeSuite
44
45 3 laforge
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.
46 1 laforge
47 3 laforge
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.
48 1 laforge
49 3 laforge
Also note:
50 1 laforge
51 3 laforge
{{include(cellular-infrastructure:MacroBinaryPackages)}}
Add picture from clipboard (Maximum size: 48.8 MB)