I can’t seem to include glu.h in my Android NDK project.
I’m trying to port existing C++ code to NDK, and it uses glu in a few places (notably gluErrorString).
Does OpenGLES not have glu?
Is there a port I can use?
If not I can probably remove the calls to things like gluPerspective and so on, but what do I do about gluErrorString?
No, it doesn’t. Look at this: Platform OpenGL Includes collection. Under Android there are only the following headers:
OpenGL ES 1.1:
OpenGL ES 2.0:
Yes, there is a partial port of GLU for Android – GLU ES (it supports
gluErrorString,gluPerspectiveand numerous other functions):