title: C++ LInker error (Visual Studio C++ 2010)
body: <p>I tried to create empty project for Visual Studio.</p>
  
  <pre><code>// OpenGL1.cpp : main project file.
  // #include "stdafx.h"
  #include "windows.h"
  #include &lt;GL/gl.h&gt;
  #include &lt;iostream&gt;
  
  using namespace System;
  
  int main()
  {
      std::cout &lt;&lt; "Hello World" &lt;&lt; "\n";
      return 0;
  }
  </code></pre>
  
  <p>Having configured these dependencies:</p>
  
  <blockquote>
    <p>opengl32.lib;glu32.lib;olepro32.lib;%(AdditionalDependencies);C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\gl;</p>
  </blockquote>
  
  <p>And I got this error:</p>
  
  <blockquote>
    <p>.NETFramework,Version=v4.0.AssemblyAttributes.cpp
    LINK : fatal error LNK1104: cannot open file 'C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\gl.obj'</p>
  </blockquote>
  
  <p>Can you explain why this happens and how to remove the error?</p>