Compile Bridgecommand for the Raspberry Pi 3

Compile Bridgecommand for the Raspberry Pi 3 (and Linux Mint)

Ensure Raspbian is up to date:
sudo apt-get update
sudo apt-get dist-upgrade

Enable opengl in Raspbian:
Run raspi-config
choose '7 - advanced' then 'A7 GL Driver' then 'G2 - GL Fake KMS'

Install: mesa-common-dev
sudo apt-get install mesa-common-dev

Install: libxcursor-dev
sudo apt-get install libxcursor-dev

Install: libgl1-mesa-dev
sudo apt-get install libgl1-mesa-dev

Get source code from:

Go to source root in console and run 'make'

Notes for PI:
You must run at 800x600 or less (640 x 480). I have found the best performance is with Raspbian set to 800x600 and BridgeCommand set to windowed and set to auto size (width=0)
Turn off Shading.
I have not been able to run full screen so it must be run windowed for now.
You can set these by running bridgecommand-ini.
Sound does not work.
Use IP addresses not network name on the Pi for repeater and network settings.

Ideas / Plans:

I intend to find a cross platform way to save the output that is sent to UDP ports to a local text file which will be updated at a sufficiently high rate).
The intent is to be able to feed the required data to a web browser which will be coded in JS to act as any sort of instrument easily across almost all platforms.
There would be no need to compile instruments for different platforms.
The JS code will be loading the text file on a frequent basis using AJAX calls.
The text file would best be saved in JSON format if possible.
If fancy graphics are required, webgl or some clever application of images and jquey rotate modules might be used.
If another PC terminal requires access to this text file, local file sharing would be enabled, and the path be set (in the browser).