title: GLEW functions can't be found
body: <p>I am on Ubuntu, writing an application using OpenGL, GLEW and GLFW. I am using Eclipse as my IDE, and am having problems when trying to use functions such as <strong>glGenRenderbuffer</strong>. I have a very similar structure set up under Windows but can't get it to work on Linux.</p>
  
  <p>I am linking to the libraries <em>glfw</em> and <em>GLEW</em>. I am able to compile and run parts of my application and can initialize both GLFW and GLEW. From these test runs I learn the following:</p>
  
  <pre><code>OpenGL version: 4.2.0 NVIDIA 304.64
  Using GLEW 1.6.0
  </code></pre>
  
  <p>However, I can't get the function <strong>glGenRenderbuffer</strong> (or other framebuffer functions) to compile. I have tried adding both EXT and ARB to the name, as well as playing around with glex.h without any luck. As far as I know, the purpose of GLEW is to handle all extension issues, right?</p>
  
  <p>The source file (<em>VolumeRenderer.cpp</em>) includes are done like this:</p>
  
  <pre><code>#include &lt;glm/gtc/matrix_transform.hpp&gt;
  #include &lt;VolumeRenderer.h&gt;
  #include &lt;GL/glew.h&gt;
  #include &lt;GL/glfw.h&gt;
  </code></pre>
  
  <p>Further down, I am trying to use the function like this (only partially complete function, of course):</p>
  
  <pre><code>bool VolumeRenderer::InitFramebuffers()
  {
    glGenRenderbuffers(1, &amp;renderBufferObject_);
    return true;
  }
  </code></pre>
  
  <p>All I get is <strong>"function 'glGenRenderBuffers' could not be resolved".</strong></p>
  
  <p>Looking in the GL/glew.h header I am including, I found the following lines among others:</p>
  
  <pre><code>#define glGenRenderbuffers GLEW_GET_FUN(__glewGenRenderbuffers)
  #define glGenRenderbuffersEXT GLEW_GET_FUN(__glewGenRenderbuffersEXT)
  </code></pre>
  
  <p>But the compiler still can't find the function. Is there anything I have forgotten, or maybe some tests and checks I can run to see what is happening?</p>