← Back

ofxRPI4Window

github.com/jvcleave/ofxRPI4Window · @jvcleave
OF 0.11 Releases Raspberry Pi

This is an openFrameworks addon for the Raspberry Pi to allow rendering without X

22 3 Last commit 5y ago Created 6y ago

Forks

Forks pushed to more recently than jvcleave/ofxRPI4Window itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

n1ckfg/ofxRPI4Window by @n1ckfg · ★ 0 · pushed 4y ago

Branches ahead of master

These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.

stash 1 commit ahead · last commit 6y ago

README

ofxRPI4Window



STATUS

Very early, no Mouse/Keyboard support

DESCRIPTION:

This is an openFrameworks addon for the Raspberry Pi to allow rendering without X

REQUIREMENTS:

Manual Option

Change openFrameworks/libs/openFrameworksCompiled/project/linuxarmv6l/config.linuxarmv6l.default.mk

    ifeq ($(USE_PI_LEGACY), 1)
    	PLATFORM_DEFINES += TARGET_RASPBERRY_PI_LEGACY
        $(info using legacy build)
    else
    	# comment this for older EGL windowing. Has no effect if USE_PI_LEGACY is enabled
    	# GLFW seems to provide a more robust window on newer Raspbian releases

USE_GLFW_WINDOW = 1

endif
Comment out ofSetupOpenGL in https://github.com/openframeworks/openFrameworks/blob/master/libs/openFrameworks/app/ofAppRunner.cpp#L31

Automatic Option

Run ./patchOF.sh

USAGE:

Clone into openFrameworks/addons If needed, sudo apt-get install libgbm-dev.

RUNNING

Use the classic oF way to Launch your application. (eg: make RunDebug) Note: Quitting is not yet properly supported, use Ctrl+C to interrupt your ofApp.

CREDITS:

derived from https://github.com/matusnovak/rpi-opengl-without-x

https://gitlab.freedesktop.org/mesa/kmscube/tree/master

Get this addon

HTTPS
SSH

Latest release

1.0 published 5y ago