title: How can I resolve linker issues when I compile this C++ program that requires GLUT?
body: <p>I'm trying to compile this C++ program which utilizes the GLUT32 libraries.</p>
  
  <p>Right now I'm getting the following errors:</p>
  
  <blockquote>
    <p>Error 1   error LNK2001: unresolved
    external symbol
    _gluPerspective@32    Camera.obj  soundCube
    Error 2   error LNK2001: unresolved
    external symbol
    _gluLookAt@72 Camera.obj  soundCube Error 3   error LNK2001: unresolved
    external symbol
    __imp__glMaterialfv@12    GLWindow.obj    soundCube
    Error 4   error LNK2001: unresolved
    external symbol
    __imp__glClear@4  GLWindow.obj    soundCube Error 5   error LNK2001: unresolved
    external symbol
    __imp__glClearColor@16    GLWindow.obj    soundCube
    Error 6   error LNK2001: unresolved
    external symbol
    __imp__glMaterialf@12 GLWindow.obj    soundCube Error 7   error LNK2001: unresolved
    external symbol
    __imp__glEnd@0    GLWindow.obj    soundCube Error 8   error LNK2001: unresolved
    external symbol
    __imp__glRasterPos2f@8    GLWindow.obj    soundCube
    Error 9   error LNK2001: unresolved
    external symbol
    __imp__timeGetTime@0  GLWindow.obj    soundCube Error 10  error LNK2001: unresolved
    external symbol
    __imp__glDisable@4    GLWindow.obj    soundCube
    Error 11  error LNK2001: unresolved
    external symbol
    __imp__glBegin@4  GLWindow.obj    soundCube Error 12  error LNK2001: unresolved
    external symbol
    __imp__glColor4f@16   GLWindow.obj    soundCube
    Error 13  error LNK2001: unresolved
    external symbol
    __imp__glPopMatrix@0  GLWindow.obj    soundCube Error 14  error LNK2001: unresolved
    external symbol
    __imp__glPushMatrix@0 GLWindow.obj    soundCube Error 15  error LNK2001: unresolved
    external symbol
    __imp__glRotatef@16   GLWindow.obj    soundCube
    Error 16  error LNK2001: unresolved
    external symbol __imp__glBlendFunc@8</p>
    
    <p>...</p>
    
    <p>Error 56  fatal error LNK1120: 55
    unresolved
    externals C:\Users\Simucal\Documents\Downloads\SoundCubeSrc   soundCube</p>
  </blockquote>
  
  <p>I'm not that experienced in C++ but I've tried to set up GLUT correctly so this project can link against it.</p>
  
  <p>I downloaded the GLUT32 library for <a href="http://www.xmission.com/~nate/glut.html" rel="nofollow noreferrer">Nate Robin's page</a>.</p>
  
  <p>I then placed the following files in:</p>
  
  <ul>
  <li>glut.h - C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\gl</li>
  <li>glut32.lib - C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib</li>
  <li>glut.dll - C:\Windows\System32</li>
  </ul>
  
  <p>I also selected the Project -> Properties -> Linker -> Additional Dependencies -> Added "glut32.lib"</p>
  
  <p>If anyone wants to see what project I'm working with, it is <a href="http://dl.dropbox.com/u/638285/SoundCubeSrc.zip" rel="nofollow noreferrer">here</a>.</p>
  
  <p>What step am I missing or doing wrong in order to resolve these errors? </p>