readme depencies and WSL 2 options from @hhrhhr
This commit is contained in:
parent
ddb9019194
commit
4b976a273b
11
README.md
11
README.md
|
@ -29,7 +29,7 @@ sudo apt-get install build-essential
|
||||||
|
|
||||||
1. Install SDL and RTL-SDR libraries
|
1. Install SDL and RTL-SDR libraries
|
||||||
```
|
```
|
||||||
sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-gfx-dev librtlsdr-dev
|
sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-gfx-dev librtlsdr-dev libgdal-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: On Raspbian the SDL2 package requires X to be running. See the Raspberry Pi section for notes on running from the terminal and other improvements.
|
Note: On Raspbian the SDL2 package requires X to be running. See the Raspberry Pi section for notes on running from the terminal and other improvements.
|
||||||
|
@ -46,7 +46,7 @@ make clean; make
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install python3 python3-pip
|
sudo apt install python3 python3-pip
|
||||||
pip3 install fiona tqdm
|
pip3 install fiona tqdm shapely
|
||||||
./getmap.sh
|
./getmap.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -62,11 +62,16 @@ As WSL does not have an X server built in, you will need to install a 3rd party
|
||||||
|
|
||||||
* run Xlaunch from the start menu
|
* run Xlaunch from the start menu
|
||||||
* Uncheck "Use Native openGL"
|
* Uncheck "Use Native openGL"
|
||||||
|
* Add parameter ```-ac``` (WSL 2 only)
|
||||||
* Open the Ubuntu WSL terminal
|
* Open the Ubuntu WSL terminal
|
||||||
* Specify the X display to use
|
* Specify the X display to use (WSL 1)
|
||||||
```
|
```
|
||||||
export DISPLAY=:0
|
export DISPLAY=:0
|
||||||
```
|
```
|
||||||
|
* or for (WSL 2)
|
||||||
|
```
|
||||||
|
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
|
||||||
|
```
|
||||||
* Start viz1090 as described below.
|
* Start viz1090 as described below.
|
||||||
|
|
||||||
### RUNNING
|
### RUNNING
|
||||||
|
|
Loading…
Reference in a new issue