I’m trying to use ofxFX on a raspberry pi but I’m getting errors when trying trying to build anything that includes the library.
These are the errors I’m getting:
/home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp: In member function ‘void ofxFXObject::selectShaderSource()’: /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:242:33: error: qualified-id in declaration before ‘(’ token 242 | bool ofxFXObject::needsFboResize(){ | ^ /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:253:30: error: qualified-id in declaration before ‘(’ token 253 | bool ofxFXObject::compileCode(){ | ^ /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:307:29: error: qualified-id in declaration before ‘(’ token 307 | void ofxFXObject::setTexture(ofBaseDraws& tex, int _texNum){ | ^ /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:327:24: error: qualified-id in declaration before ‘(’ token 327 | void ofxFXObject::begin(int _texNum ) { | ^ /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:338:22: error: qualified-id in declaration before ‘(’ token 338 | void ofxFXObject::end(int _texNum) { | ^ /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:351:25: error: qualified-id in declaration before ‘(’ token 351 | void ofxFXObject::update(){ | ^ /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:417:23: error: qualified-id in declaration before ‘(’ token 417 | void ofxFXObject::draw(int _x, int _y, float _width, float _height){ | ^ /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:432:26: error: qualified-id in declaration before ‘(’ token 432 | void ofxFXObject::initFbo(ofFbo & _fbo, int _width, int _height, int _internalformat) { | ^ /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:442:30: error: qualified-id in declaration before ‘(’ token 442 | void ofxFXObject::renderFrame(float _width, float _height){ | ^ /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:459:1: error: expected ‘}’ at end of input 459 | } | ^ /home/sn/openFrameworks/addons/ofxFX/src/ofxFXObject.cpp:202:39: note: to match this ‘{’ 202 | void ofxFXObject::selectShaderSource(){ | ^ make[1]: *** [/home/sn/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:360: /home/sn/openFrameworks/addons/obj/linuxarmv6l/Release/ofxFX/src/ofxFXObject.o] Error 1 make[1]: Leaving directory '/home/sn/openFrameworks/addons/ofxFX/example-grayscott' make: *** [/home/sn/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
I have tried the solution from github issues #44 with ofAppGlutWindow but this doesn’t seem to help. I have also tried to use an older version of openframeworks but this doesn’t help
can someone help?
Thanks <3