title: Are Vertex Array Objects supported in Android OpenGL ES 2.0 using extensions?
body: <p>I'm trying to write some code that uses VAOs in C++ using the Android NDK to compile. I expect to be able to use <code>glDeleteVertexArraysOES</code>, <code>glGenVertexArraysOES</code>, and <code>glBindVertexArrayOES</code>.</p>
  
  <p>I am including the headers for OpenGL ES 2 and the extensions in my header.</p>
  
  <pre><code>#define GL_GLEXT_PROTOTYPES
  #include &lt;GLES2/gl2.h&gt;
  #include &lt;GLES2/gl2ext.h&gt;
  </code></pre>
  
  <p>I'm also linking to OpenGL ES 2 in <code>Android.mk</code>.</p>
  
  <pre><code>LOCAL_LDLIBS += -lGLESv2
  </code></pre>
  
  <p>But for some reason when the code is being linked, it fails.</p>
  
  <pre><code>undefined reference to 'glDeleteVertexArraysOES'
  undefined reference to 'glGenVertexArraysOES'
  undefined reference to 'glBindVertexArrayOES'
  </code></pre>
  
  <p>Is the linker not including <code>GLES2/gl2ext.h</code>?</p>