Here's a step by step of what I did
1. Installed latest Raspbian to microSD card via Etcher.
2. Boot the Raspberry Pi 3 - it boots into the Pixel desktop by default.
Open the terminal and do usual housekeeping,
sudo apt-get update
sudo apt-get upgrade
From here I did 1. Expand Filesystem, 2. Switch on SSH & SPI (SPI might not be required for you, I need it), 3. Memory Split to 64 and 4. Set Boot to Console Autologin, 5. Advanced Options -> GL Driver > "G3 Legacy" "Original non-GL desktop driver" [This is according to the guide here and according to @bakercp's post above ].
At this point the Pi would ask for a reboot, I'd say not right now
Open the browser, I downloaded the of_v20170714_linuxarmv6l_nightly.tar.gz (yes, the nightly build! - I don't think 0.9.8 works any longer). I put everything from here into a folder called openFrameworks in my home directory.
Now I reboot.
3. On reboot,
- navigate to the scripts folder
- Then go back to the main openFrameworks folder.
- Navigate to,
- Edit the file there as mentioned by @bakercp
PLATFORM_LIBRARIES += GLESv2
PLATFORM_LIBRARIES += GLESv1_CM
PLATFORM_LIBRARIES += EGL
PLATFORM_LIBRARIES += brcmGLESv2
PLATFORM_LIBRARIES += brcmEGL
4. Now it's time to compile openFrameworks!
sudo make Release -C /home/pi/openFrameworks/libs/openFrameworksCompiled/project
If you get a access denied error at any point just rerun the command as sudo, that happened to me a couple of times, don't remember at which points - happened while compiling some examples for the first time too, so future reference too.
This is going to take a while. So take a break.
Once this is done, go to any example and
make. It should work.
5. Don't forget to reset the memory split from
raspi-config back to 128 or 256.
@moebiussurfing (and @ThreeDOgs) I could make a SD image ready to burn and run if you can wait till Tuesday/Wednesday. All my stuff is at school.