Merge branch 'volcano' of https://www.github.com/nmatsuda/viz1090 into volcano

This commit is contained in:
nathan 2022-10-27 12:19:14 -07:00
commit 4bcaa46c4e

View file

@ -31,8 +31,17 @@ sudo apt-get install build-essential
```
sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-gfx-dev librtlsdr-dev libgdal-dev
```
1b. (Raspberry Pi only)
If you are running viz1090 on the Raspbian desktop (or any form of X) you can skip this step, but if you want to be able to start it directly from the command line, do the following to build SDL with KMS driver support. This is taken from [this stackoverflow question](https://stackoverflow.com/questions/57672568/sdl2-on-raspberry-pi-without-x)
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.
```
git clone https://github.com/libsdl-org/SDL
sudo apt build-dep libsdl2
sudo apt install libdrm-dev libgbm-dev
cd ~/SDL
./configure --enable-video-kmsdrm
make -j4 && sudo make install
```
2. Download and build viz1090
```
@ -54,8 +63,6 @@ This will produce files for map and airport geometry, with labels, that viz1090
The default parameters for mapconverter should render reasonably quickly on a Raspberry Pi 4. See the mapconverter section below for other options and more information about map sources.
3. (Windows only)
As WSL does not have an X server built in, you will need to install a 3rd party X server, such as https://sourceforge.net/projects/vcxsrv/