title: How to fix "fatal error C1083: Cannot open include file" using Visual Studio
body: <p>I installed "MS VS VC++ 2010 Express" for the first time after using Eclipse. I followed the instructions to install it at "<a href="http://shawndeprey.blogspot.com/2012/02/setting-up-glfw-in-visual-studio-2010.html" rel="nofollow">Setting Up GLFW in Visual Studio 2010</a>".</p>
  
  <p>Then I wrote this program to test it, which worked fine in Eclipse:</p>
  
  <pre><code>#include &lt;stdlib.h&gt;
  #include &lt;GL/glfw.h&gt;
  using namespace std;
  
  
  
  int wmain(){
  
      int running = GL_TRUE;
  
  
      if (!glfwInit()){
          exit (EXIT_FAILURE);
      }
  
  
      if (!glfwOpenWindow( 300,300 ,0,0,0,0,0,0, GLFW_WINDOW)){
          glfwTerminate();
          exit(EXIT_FAILURE);
      }
  
  
      while (running) {
          glClear( GL_COLOR_BUFFER_BIT );
  
          glfwSwapBuffers();
  
          running = !glfwGetKey (GLFW_KEY_ESC) &amp;&amp; glfwGetWindowParam (GLFW_OPENED);
      }
  
  
  
  
      glfwTerminate();
  
      exit(EXIT_SUCCESS);
  
  
  
  return 0;
  }
  </code></pre>
  
  <p>And this is what it says in the console:</p>
  
  <pre><code>------ Build started: Project: first1, Configuration: Debug Win32 ------
    first.cpp
  c:\users\pc\documents\visual studio 2010\projects\first1\first1\first.cpp(2): fatal error C1083: Cannot open include file: 'GL/glfw.h': No such file or directory
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>
  
  <p>There might be a flaw in the installation process, if so, that what could be wrong? </p>