@cjniven wrote:
Hi there,
I built OF v.0.10 Release Candidate 4 on my Raspberry Pi 3 B+ (Running Raspbian Stretch) and I’m trying to make a project that works on my Mac that uses the ofxPostProcessing addon.
I feel like I might have not setup something properly because a lot of the core OF headers are not being seen:
/home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp: In member function ‘itg::LUTPass* itg::LUTPass::loadLUT(std::__cxx11::string)’: /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp:60:37: error: ‘ofToDataPath’ was not declared in this scope path = ofToDataPath(path); ^ /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp:98:19: warning: comparison betweensigned and unsigned integer expressions [-Wsign-compare] if (lut.size() != (LUT_3D_SIZE * LUT_3D_SIZE * LUT_3D_SIZE)) ofLogError() << "LUT size is incorrect."; ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp:98:76: error: ‘ofLogError’ was notdeclared in this scope if (lut.size() != (LUT_3D_SIZE * LUT_3D_SIZE * LUT_3D_SIZE)) ofLogError() << "LUT size is incorrect."; ^ /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp:105:22: error: ‘GL_TEXTURE_3D’ wasnot declared in this scope glEnable(GL_TEXTURE_3D); ^~~~~~~~~~~~~ /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp:113:63: error: ‘GL_CLAMP’ was not declared in this scope glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP); ^~~~~~~~ /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp:115:44: error: ‘GL_TEXTURE_WRAP_R’was not declared in this scope glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_CLAMP); ^~~~~~~~~~~~~~~~~ /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp:119:119: error: ‘glTexImage3D’ wasnot declared in this scope ge3D(GL_TEXTURE_3D, 0, GL_RGB, LUT_3D_SIZE, LUT_3D_SIZE, LUT_3D_SIZE, 0, GL_RGB, GL_FLOAT, &lut[0]); ^ /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp: In member function ‘void itg::LUTPass::dispose()’: /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp:152:23: warning: converting to non-pointer type ‘GLuint {aka unsigned int}’ from NULL [-Wconversion-null] lut_tex = NULL; ^~~~ /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp: In member function ‘virtual void itg::LUTPass::render(ofFbo&, ofFbo&)’: /home/pi/openFrameworks/addons/ofxPostProcessing/src/LUTPass.cpp:165:45: error: ‘GL_TEXTURE_3D’ wasnot declared in this scope shader.setUniformTexture("lut_tex", GL_TEXTURE_3D, lut_tex, 1); ^~~~~~~~~~~~~ /home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:358: recipe for target '/home/pi/openFrameworks/addons/obj/linuxarmv6l/Release/ofxPostProcessing/src/LUTPass.o' failed make[1]: *** [/home/pi/openFrameworks/addons/obj/linuxarmv6l/Release/ofxPostProcessing/src/LUTPass.o] Error 1 make[1]: Leaving directory '/home/pi/openFrameworks/apps/myApps/interpretat_io' /home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:124: recipe for target 'Release' failed make: *** [Release] Error 2
if I type
#include "ofLog.h"
In LUTPass.h to get rid of the message of it complaining about ofLogError() not being found, it still gives me the same error.
If anyone can point me in the right direction I would greatly appreciate it!
Thanks,
-Chris
Posts: 4
Participants: 2