Hi, everyone!
I am trying to use OpenGL|ES in an Qt application on my OMAP-L138 board. Among the common OpenGL|ES methods, I choose PicoGL library.
Now, I have successfully compiled the PicoGL library, and run the examples of PicoGL on my OMAP-L138 board. After that, I try to build a new qmake of Qt which can support the OpenGL|ES, but I fail.
Here are the codes in qmake.conf related to OpenGL configuration:
QMAKE_INCDIR_GL = /home/tl/PicoGL/include
QMAKE_LIBDIR_GL = /home/tl/nonePicoGL/lib
QMAKE_LIBS_GL = -libPicoGL -libPicoGLU
And I also add "-opengl" or ''-opengl es1" or "-opengl es2" when configuring my qmake. But I still get an error:
The OpenGL ES 1.x functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in
/home/tl/qt/qt-everywhere-opensource-src-4.7.0/mkspecs/qws/linux-omapl138-g++.
I am so confused about it, and could not find a solution on the Internet. So does anyone have an idea? Please share with me. Thank you.