Bridgecommand Compile for the Raspberry Pi 3

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

Ensure Raspbian is up to date:
https://www.raspberrypi.org/documentation/raspbian/updating.md
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'
Reboot

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:
https://www.bridgecommand.co.uk/
https://github.com/bridgecommand/bc

Go to source root in console and run 'make'

Notes for PI:
Run off a SD card, not a USB. It crashes often.
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 640 x 480 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:

https://github.com/vpelss/BridgeCommand_NEMA_UDP_to_File_HTML