I’m trying to build the example that comes with the ofxTextureRecorder add on a Raspberry Pi 3 but I get the following errors:
‘GL_DYNAMIC_READ’ was not declared in this scope
‘GL_QUERY_RESULT’ was not declared in this scope
‘GST_QUERY_CAST’ was not declared in this scope
‘GL_READ_ONLY’ was not declared in this scope
‘GL_TIME_ELAPSED’ was not declared in this scope
‘glBeginQuery’ was not declared in this scope
‘glEndQuery’ was not declared in this scope
‘glGenQueries’ was not declared in this scope
‘glGetQueryObjectuiv’ was not declared in this scope
‘ofBufferObject’ had no member named ‘unmap’
‘const class ofTexture’ has no member named ‘copyTo’
The example builds fine on my laptop running Ubuntu Studio 21.04.
I’ve tried to locate the macro and function definitions and on my laptop I found them in /usr/include/GL and GLES. On my Pi these files are in /opt/vc/include but they don’t contain these macros or functions.
What I need is a way to record the output of an app which is a rectangle and some strings, and ofxTextureRecorder seems like one solution. If someone has an alternative or can help with the errors above I’d be grateful.
1 post - 1 participant