Skip to content

Instantly share code, notes, and snippets.

@trentbrooks
Created February 26, 2015 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trentbrooks/452dfc8dfaa95892aedf to your computer and use it in GitHub Desktop.
Save trentbrooks/452dfc8dfaa95892aedf to your computer and use it in GitHub Desktop.
Raspberry Pi2 + openframeworks setup
// 1 update gcc to 4.8
sudo apt-get install g++-4.8
cd /usr/bin
sudo rm g++
sudo ln -s g++-4.8 g++
// 1 download OF (from github or stable linuxarm7l release with https://github.com/openframeworks/openFrameworks/blob/master/libs/openFrameworksCompiled/project/linuxarmv7l/config.linuxarmv7l.rpi2.mk)
cd ~
curl -o https://github.com/openframeworks/openFrameworks/archive/master.zip
curl -o http://www.openframeworks.cc/versions/v0.8.4/of_v0.8.4_linuxarmv7l_release.tar.gz
// 2 install dependencies + compile OF
cd openFrameworks
sudo scripts/linux/debian/install_dependencies.sh
export MAKEFLAGS="-j4 -s PLATFORM_VARIANT=rpi2"
make Release -C libs/openFrameworksCompiled/project
// reference links
http://forum.openframeworks.cc/t/raspberry-pi-2-install-failing/18411/25
https://github.com/openframeworks/openFrameworks/issues/3620
http://openframeworks.cc/setup/raspberrypi/Raspberry-Pi-Getting-Started.html
http://openframeworks.cc/setup/raspberrypi/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment