title: Trouble porting OpenGL app to Windows
body: <p>I am trying to move an OpenGL app to Windows.</p>
  
  <p>It was my understanding that Windows had a decent OpenGL implementation. But I'm starting to think that it doesn't...</p>
  
  <p>Specifically, I use array buffers and <a href="http://msdn.microsoft.com/en-us/library/dd318837(VS.85).aspx" rel="noreferrer">glDrawArrays</a>.</p>
  
  <p>When I tried to compile my code in Visual Studio 2008 Pro, I received the following errors:</p>
  
  <pre>vertexbuffers.cpp(31) : error C3861: 'glGenBuffers': identifier not found
  vertexbuffers.cpp(32) : error C2065: 'GL_ARRAY_BUFFER' : undeclared identifier
  vertexbuffers.cpp(32) : error C3861: 'glBindBuffer': identifier not found
  vertexbuffers.cpp(33) : error C2065: 'GL_ARRAY_BUFFER' : undeclared identifier
  vertexbuffers.cpp(33) : error C2065: 'GL_STATIC_DRAW' : undeclared identifier
  vertexbuffers.cpp(33) : error C3861: 'glBufferData': identifier not found</pre>
  
  <p>When I examined <code>&lt;GL\gl.h&gt;</code> (contained in <code>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\gl</code>), I saw:</p>
  
  <pre><code>/* ClientArrayType */ 
  /*      GL_VERTEX_ARRAY */
  /*      GL_NORMAL_ARRAY */
  /*      GL_COLOR_ARRAY */
  </code></pre>
  
  <p><strong>Update</strong> but it would seem that those contants get defined elsewhere.</p>
  
  <p>How am I supposed to generate buffers if I don't have access to those functions?</p>
  
  <p>The documentation doesn't say that those array types are disabled. How do I get access to the <strong>real</strong> implementation on OpenGL on Windows?</p>