Thu Aug 09, 2012 3:49 pm
I'm trying to port an SDL OpenGL application to OpenGL-ES, and ran into the same problem. I made sure I installed the proper packages, but the linker couldn't find libGLES_CM.
So, puzzled, I searched for all files starting with "libGL", and actually found that the library was infact present - just with a slightly different name: libGLESv1_CM.
Thus, for OpenGL ES v1.x, you link with the flag -lGLESv1_CM, and for v2.x, you link with the flag -lGLESv2.