Add instruction for Linux

This commit is contained in:
Howard Su 2020-10-24 23:41:22 +08:00
parent 3fdd2477e5
commit ef36283370

View File

@ -59,7 +59,28 @@ The last step of the build process is copying the `bandplans` and `res` director
If you followed the steps above, it should be `build/Release`.
# Building on Linux
comming soon :)
## install requirements
On Debian/Ubtuntu system:
apt install libglew-dev libglfw3-dev libfftw3-dev libvolk1-dev portaudio19-dev libsoapysdr-dev gcc
## The build
```
mkdir build
cd build
cmake ..
make
```
## Modify root_dev/modules_list.json
If the content is different than the following, change it.
```
{
"Radio": "./radio/radio.so",
"Recorder": "./recorder/recorder.so",
"Soapy": "./soapy/soapy.so",
"RTLTCPSource": "./rtl_tcp_source/rtl_tcp_source.so"
}
```
# Building on OSX
## Install requirements
@ -78,6 +99,17 @@ cmake ..
cmake --build . --config Release
```
## Modify root_dev/modules_list.json
If the content is different than the following, change it.
```
{
"Radio": "./radio/radio.dylib",
"Recorder": "./recorder/recorder.dylib",
"Soapy": "./soapy/soapy.dylib",
"RTLTCPSource": "./rtl_tcp_source/rtl_tcp_source.dylib"
}
```
# Contributing
Feel free to issue pull request and report bugs via the github issues.