mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-09-28 16:16:58 -04:00
Updated Build Linux (markdown)
parent
3f738538e5
commit
c56ed7ccc2
@ -1,17 +1,17 @@
|
|||||||
Building CubicSDR for Linux:
|
##Building CubicSDR for Linux:
|
||||||
---
|
---
|
||||||
|
|
||||||
Basic build support:
|
###Basic build support:
|
||||||
```bash
|
```bash
|
||||||
$ sudo apt-get install git build-essential automake cmake
|
$ sudo apt-get install git build-essential automake cmake
|
||||||
```
|
```
|
||||||
|
|
||||||
Base Dependencies: (debian)
|
###Base Dependencies: (debian)
|
||||||
```bash
|
```bash
|
||||||
$ sudo apt-get install libfftw3-dev libwxgtk3.0-dev libpulse-dev
|
$ sudo apt-get install libfftw3-dev libwxgtk3.0-dev libpulse-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
Build and install SoapySDR
|
###Build and install SoapySDR
|
||||||
```bash
|
```bash
|
||||||
$ git clone https://github.com/pothosware/SoapySDR.git
|
$ git clone https://github.com/pothosware/SoapySDR.git
|
||||||
$ cd SoapySDR
|
$ cd SoapySDR
|
||||||
@ -24,7 +24,7 @@ build$ sudo ldconfig
|
|||||||
build$ SoapySDRUtil --info #test SoapySDR install
|
build$ SoapySDRUtil --info #test SoapySDR install
|
||||||
```
|
```
|
||||||
|
|
||||||
Build and install liquid-dsp
|
###Build and install liquid-dsp
|
||||||
```bash
|
```bash
|
||||||
$ git clone https://github.com/jgaeddert/liquid-dsp
|
$ git clone https://github.com/jgaeddert/liquid-dsp
|
||||||
liquid-dsp$ cd liquid-dsp
|
liquid-dsp$ cd liquid-dsp
|
||||||
@ -35,7 +35,7 @@ liquid-dsp$ sudo make install
|
|||||||
liquid-dsp$ sudo ldconfig
|
liquid-dsp$ sudo ldconfig
|
||||||
```
|
```
|
||||||
|
|
||||||
Build CubicSDR
|
###Build CubicSDR
|
||||||
```bash
|
```bash
|
||||||
$ git clone https://github.com/cjcliffe/CubicSDR.git
|
$ git clone https://github.com/cjcliffe/CubicSDR.git
|
||||||
CubicSDR$ cd CubicSDR
|
CubicSDR$ cd CubicSDR
|
||||||
@ -59,11 +59,12 @@ Un-install CubicSDR
|
|||||||
build$ sudo make uninstall
|
build$ sudo make uninstall
|
||||||
```
|
```
|
||||||
|
|
||||||
Support Modules
|
|
||||||
|
|
||||||
|
## Support Modules
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### SoapyRTLSDR (similar to other Soapy modules):
|
||||||
SoapyRTLSDR (similar to other Soapy modules):
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo apt-get install librtlsdr-dev
|
$ sudo apt-get install librtlsdr-dev
|
||||||
$ git clone https://github.com/pothosware/SoapyRTLSDR.git
|
$ git clone https://github.com/pothosware/SoapyRTLSDR.git
|
||||||
@ -78,9 +79,10 @@ build$ sudo ldconfig
|
|||||||
build$ SoapySDRUtil --probe
|
build$ SoapySDRUtil --probe
|
||||||
```
|
```
|
||||||
|
|
||||||
SoapySDRPlay (similar to other Soapy modules):
|
### SoapySDRPlay (similar to other Soapy modules):
|
||||||
|
|
||||||
** Note: requires API from http://sdrplay.com/linux.html to be installed first.
|
** Note: requires API from http://sdrplay.com/linux.html to be installed first.
|
||||||
|
** Also note that the SoapySDRPlay installer will at present time install an earlier SoapySDR binary -- please re-run 'sudo make install' for your SoapySDR build folder to update to the build version after installing.
|
||||||
```bash
|
```bash
|
||||||
$ git clone https://github.com/pothosware/SoapySDRPlay.git
|
$ git clone https://github.com/pothosware/SoapySDRPlay.git
|
||||||
$ cd SoapySDRPlay
|
$ cd SoapySDRPlay
|
||||||
@ -94,3 +96,35 @@ build$ SoapySDRUtil --probe
|
|||||||
```
|
```
|
||||||
|
|
||||||
- Always ensure to update, build and install SoapySDR before building dependent projects.
|
- Always ensure to update, build and install SoapySDR before building dependent projects.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Ubuntu 15.10 Note:
|
||||||
|
|
||||||
|
If you've installed a graphics driver that includes OpenGL and your libGL.so currently points to an invalid mesa/libGL.so you may get a compiler error:
|
||||||
|
```bash
|
||||||
|
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so', needed by 'x64/CubicSDR'. Stop.
|
||||||
|
```
|
||||||
|
|
||||||
|
Checking the link should reveal that it's pointing at a deleted file:
|
||||||
|
```
|
||||||
|
$ ls -lah /usr/lib/x86_64-linux-gnu/libGL.so
|
||||||
|
lrwxrwxrwx 1 root root 13 Oct 9 01:16 /usr/lib/x86_64-linux-gnu/libGL.so -> mesa/libGL.so
|
||||||
|
```
|
||||||
|
|
||||||
|
To fix the link first remove the old one:
|
||||||
|
```
|
||||||
|
$ sudo rm /usr/lib/x86_64-linux-gnu/libGL.so
|
||||||
|
```
|
||||||
|
|
||||||
|
Then check where libGL.so.1 is pointing:
|
||||||
|
```
|
||||||
|
$ ls -lah /usr/lib/x86_64-linux-gnu/libGL.so.1
|
||||||
|
lrwxrwxrwx 1 root root 15 Dec 20 19:03 /usr/lib/x86_64-linux-gnu/libGL.so.1 -> libGL.so.358.16
|
||||||
|
```
|
||||||
|
|
||||||
|
And create a new link to the same location:
|
||||||
|
```
|
||||||
|
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.358.16 /usr/lib/x86_64-linux-gnu/libGL.so
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user