Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling on raspberry pi3 fails on ofxImGui/src/EngineOpenGLES.cpp #59

Open
danbz opened this issue Jul 18, 2017 · 1 comment
Open
Labels
legacy-version For issues releated to the older legacy code, before all the refactorings in the develop branch.

Comments

@danbz
Copy link

danbz commented Jul 18, 2017

in the config it states

'linuxarmv6l:
#TODO needs EngineGLFW.cpp exclude "

however EngineGLFW.cpp appears to compile but appears to fail compiling
ofxImGui/src/EngineOpenGLES.cpp

/home/pi/openFrameworks/addons/ofxImGui/src/EngineOpenGLES.cpp: In member function ‘virtual bool ofxImGui::EngineOpenGLES::createDeviceObjects()’:
/home/pi/openFrameworks/addons/ofxImGui/src/EngineOpenGLES.cpp:130:3: error: ‘g_UniformLocationPosition’ was not declared in this scope
g_UniformLocationPosition = glGetAttribLocation(g_ShaderHandle, "Position");
^
/home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:336: recipe for target '/home/pi/openFrameworks/addons/obj/linuxarmv6l/Release/ofxImGui/src/EngineOpenGLES.o' failed
make[1]: *** [/home/pi/openFrameworks/addons/obj/linuxarmv6l/Release/ofxImGui/src/EngineOpenGLES.o] Error 1

//compiling on raspberry pi 3 in raspbian in of 0.9.8 with ImGui 1.49 and 1.50
//code compiles fine on mac OSx in Xcode//

@kurmanovd
Copy link
Contributor

Just rename g_UniformLocationPosition into g_AttribLocationPosition in /home/pi/openFrameworks/addons/ofxImGui/src/EngineOpenGLES.cpp:130:3

@Daandelange Daandelange added the legacy-version For issues releated to the older legacy code, before all the refactorings in the develop branch. label Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy-version For issues releated to the older legacy code, before all the refactorings in the develop branch.
Projects
None yet
Development

No branches or pull requests

3 participants