yes i got it to work.
i followed this guide to get OF on to the PI2:
http://openframeworks.cc/setup/raspberrypi/Raspberry-Pi-Getting-Started.html
and followed this guide for the GPIO stuff on sparkfun (wiringPi):
https://learn.sparkfun.com/tutorials/raspberry-pi-2-starter-kit-hookup-guide?_ga=1.105652288.232595118.1417458993
here is my config.make file which has the paths to the right libraries and stuff:
i never used the make commands before. so, it took a while to work out how to compile the OF examples. Basically via the LXTerminal app in the Raspberry GUI environment (which is called x).
there use the cd to get to the right location, then use make.
in order to run OF apps that use GPIOs you need to use sudo make run.
you might know all this already.
stephan.