LimeSDR Build From Source » History » Version 5
pespin, 08/17/2018 03:04 PM
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 | git clone git://git.osmocom.org/libosmocore |
||
22 | cd libsomocore |
||
23 | autoreconf -fi |
||
24 | ./configure --without-uhd --with-lms |
||
25 | make -j5 |
||
26 | sudo make install |
||
27 | sudo ldconfig |
||
28 | cd ../ |
||
29 | |||
30 | ### Build osmo-trx-lms |
||
31 | git clone git://git.osmocom.org/osmo-trx |
||
32 | cd osmo-trx |
||
33 | autoreconf -fi |
||
34 | ./configure |
||
35 | make -j5 |
||
36 | sudo make install |
||
37 | sudo ldconfig |
||
38 | cd ../ |
||
39 | </pre> |
||
40 | |||
41 | 5 | pespin | You can then run osmo-trx-lms as explained in [[LimeSDR_Family#Running-osmo-trx-lms-with-LimeSDR]]. |
42 | 4 | pespin | |
43 | |||
44 | h2. Old osmo-trx-uhd for LimeSuite |
||
45 | |||
46 | 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. |
47 | 1 | laforge | |
48 | 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. |
49 | 1 | laforge | |
50 | 3 | laforge | Also note: |
51 | 1 | laforge | |
52 | 3 | laforge | {{include(cellular-infrastructure:MacroBinaryPackages)}} |