Hello friends! I am trying to run a basic app I wrote based on the oF tutorials but, periodically when doing make run, i get this error:
pi@raspberrypi ~/openFrameworks/apps/myApps/keyboardInteraction $ make run
armv6l
tvservice-client: Failed to connect to TV service: -1
[ error ] ofAppEGLWindow: getScreenSize(): tried to get display size but failed
[notice ] ofAppEGLWindow: setupRPiNativeWindow(): screenRect: 0x0
[notice ] ofAppEGLWindow: setupRPiNativeWindow(): windowRect: 0x0
[ error ] ofAppEGLWindow: setupRPiNativeWindow(): dispman_element == DISPMANX_NO_HANDLE
[warning] ofAppEGLWindow: getNativeDisplay(): window not initialized, returning NULL
[warning] ofAppEGLWindow: getNativeDisplay(): window not initialized, returning NULL
[notice ] ofAppEGLWindow: createSurface(): setting up EGL Display
[notice ] ofAppEGLWindow: createSurface(): EGL Display correctly set
[notice ] ofAppEGLWindow: createSurface(): current renderer type: GL
[notice ] ofAppEGLWindow: createSurface(): default renderer detected
[ error ] ofAppEGLWindow: createSurface(): error creating surface: EGL_BAD_NATIVE_WINDOW invalid NativeWindow
[ error ] ofAppEGLWindow: createSurface(): verify that provided EGLNativeWindow is valid
[ error ] ofAppEGLWindow: setupOpenGL(): screen creation failed, window not inited
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Aborted
make: * [run] Error 134
I don’t know why it shows up because it normally works but then this randomly shows up. I am not changing any configuration for my Pi. I am SSHing to the Pi through my laptop and using a TV via HDMI to view my apps. I would really appreciate any help!