I've successfully downloaded/unpacked/ complied OF on my RPi 2 with the latest Raspian Jessie image. The OF examples I have tried run just fine as long as I have an HMDI monitor connected to the Pi. If I access the Pi via VNC (I've tried tightvnc and x11vnc) then the examples launch from a terminal window, but no graphics window appears. Not good, as my application needs VNC .
Is it a matter of getting the right VNC server - I've read most versions of VNC do not support hardware accelerated software. Is there a version that does?
If compatibility with hardware acceleration is the problem, could an alternative solution be to switch to Raspian Wheezy and OF 0.8.4 (which I believe does not use hardware acceleration?). My graphics needs are not complex, so could probably cope with a lack of hardware acceleration.
Or is the problem more fundamental? I read a comment (related to the camera preview not being seen on VNC, I think) that indicated that output from the RPi GPU only goes to the HDMI port. In which case, any form of VNC will fail.
Any thought guys, gals & gurus?