title: Why is Visual Studio Trying to Link 'freeglutd.lib'?
body: <p>I'm trying to compile an OpenGL program using Visual Studio 2013, but I get the following error:</p>
  
  <blockquote>
    <p>Error 1   error LNK1104: cannot open file
    'freeglutd.lib'   ...</p>
  </blockquote>
  
  <p>For reference, I have FreeGLUT installed and have configured VS to search the correct directories for the include files and library files. Indeed, VS recognises the GLUT include files just fine. I've also added <em>opengl32.lib</em> and <em>freeglut.lib</em> to the <em>Additional Dependencies</em>.</p>
  
  <p>Why is VS looking for 'freeglutd.lib'? It's definitely not listed in the Additional Dependencies. I can solve the compilation error by renaming 'libglut.lib' to 'libglutd.lib' and removing the former from the dependencies, but I'm just curious why it's behaving this way.</p>
  
  <p>Speaking of Additional Dependencies, is adding opengl32.lib actually necessary? I can compile my (very basic) program without it, but more than one person has said it's required, perhaps for older versions of Visual Studio?</p>