OpenGL Issues in Remote Application
I've been working with Qt 5.2.1 on a project that works on another machine, and it compiles and deploys just fine. However, upon starting the remote application on my end, it gives the following error set in a loop:
W/Qt ( 1070): qglshaderprogram.cpp:300 (bool QGLShaderPrivate::compile(QGLShader*)): QGLShader::compile(Fragment): 0:2(9): preprocessor error: Redefinition of macro highp
W/Qt ( 1070):
W/Qt ( 1070):
W/Qt ( 1070): gl2paintengineex/qglengineshadermanager.cpp:387 (QGLEngineShaderProg* QGLEngineSharedShaders::findProgramInCache(const QGLEngineShaderProg&)): Warning: "" failed to compile!
I'm running Ubuntu 13.10, and I have OpenGL installed via mesa-common-dev and freeglut3-dev, so I'm not entirely sure why QGL is returning these errors -- especially since the same code works on a Windows machine my supervisor uses.
Hi and welcome to devnet,
What do you mean by remote application ?
Thanks for the reply!
I'm trying to run an external application on an Android virtual device -- it's code supplied from someone else that supposedly should run out of the box and does run on a Windows machine.
Upon running the code, it launches an Android virtual device that boots, waits a minute or so, and then launches this external code that fails with the above error set. Does that help?
Yes it does. You might be hitting one of these bugs :