title: GLFW 3.0.4 - ‘GLFW_FSAA_SAMPLES’ was not declared in this scope
body: <p>get the following error "error: ‘GLFW_FSAA_SAMPLES’ was not declared in this scope". can't figure out the problem</p>
  
  <p>maybe someone can help me with this or give me some hints where to start.</p>
  
  <p>my code:</p>
  
  <pre><code>// Include standard headers
  #include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  // Include GLEW
  #include &lt;GL/glew.h&gt;
  
  // Include GLFW
  #define GLFW_INCLUDE_GLU
  #include &lt;GLFW/glfw3.h&gt;
  
  // Include GLM
  #include &lt;glm/glm.hpp&gt;
  using namespace glm;
  
  //GLFWwindow* window;
  
  // Include GLM
  #include &lt;glm/glm.hpp&gt;
  using namespace glm;
  
  int main( void )
  {
  
      // Initialise GLFW
      if( !glfwInit() )
      {
          fprintf( stderr, "Failed to initialize GLFW\n" );
          return -1;
      }
      glfwWindowHint(GLFW_FSAA_SAMPLES, 4); // 4x antialiasing
      return 0;
  }
  </code></pre>
  
  <p>getting the following error:</p>
  
  <p>g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/dafdadfadf.d" </p>
  
  <p>-MT"src/dafdadfadf.d" -o "src/dafdadfadf.o" "../src/dafdadfadf.cpp"</p>
  
  <p>../src/dafdadfadf.cpp: In function ‘int main()’:</p>
  
  <p>../src/dafdadfadf.cpp:31:17: error: ‘GLFW_FSAA_SAMPLES’ was not declared in this scope</p>
  
  <p>make: <em>*</em> [src/dafdadfadf.o] Error 1</p>
  
  <p>using:</p>
  
  <p>glfw-3.0.4</p>
  
  <p>Nsight Eclipse 5.5.0</p>
  
  <p>Linux ubuntu 12.10</p>
  
  <p>doing:</p>
  
  <p>cmake . </p>
  
  <p>make </p>
  
  <p>sudo make install</p>
  
  <p>i got no errors at all ..</p>
  
  <p>copied the code from here:
  <a href="http://www.opengl-tutorial.org/beginners-tutorials/tutorial-1-opening-a-window/#Opening_a_window" rel="nofollow">http://www.opengl-tutorial.org/beginners-tutorials/tutorial-1-opening-a-window/#Opening_a_window</a></p>
  
  <p>Any hint in any direction?</p>