Because I keep bricking my pi trying to write this stuff.
- Image and Install
- Let piwiz complete - this is glacially slow :(
- Enable SSH
sudo raspi-config
> interface > SSH > Yes
- Install TightVNC
sudo apt install tightvncserver
tightvncserver -geometry 1280x720
to 1st launch and set password
- Make the code repo
sudo mkdir \code
sudo chmod 0777 \code
cd \code
- Clone the repos
git clone https://github.com/bit-meddler/Gimli.git
git clone https://github.com/bit-meddler/rpiCap.git
- Install Python dependancies
pip3 install -r \code\Gimli\requirements.txt
- Currently we can't pip install PySide2, if pip fails you need to manually install all the deps, for Qt apt-get it:
sudo apt-get install --upgrade python3-pyside2.QtCore python3-pyside2.QtGui python3-pyside2.QtWidgets python3-pyside2.QtOpenGL
- It actually doesn't work anyway, my shaders target a very reasonable Core 330 but the pi can't even handle that.
- Install C++ dev tools
- sdl2
apt-get install libsdl2-dev
- boost python?
- numpy dev?
- sdl2
- Setup Genie with:
- Nicer syntax highlighting
- The Build/Compile string from "complie_notes.txt"
- Get and Build libcamera:
- Follow instructions at https://www.raspberrypi.org/documentation/linux/software/libcamera/README.md
- Remember
-j 2
switch on the pi3