Tuesday, May 25, 2010

Installation of GLUT and Visual Studio 2010 settings

First thing which you need to do is install the GLUT library.

You can download it from here

In Future, there will be new version of the GLUT library, then you should be able to download the new ones from here.

Once you unzip it, you will get following files. Picture is attached below;

Now you need to copy some of these files to a different location as following:

I am using Visual Studio 2010 and Windows 7 for the development.

glut32.dll to C:\Windows\system
glut32.lib to C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib
glut.h to C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\GL

Note: there was no GL folder there, I had to create one.

Now Link your Project with opengl32.lib, glut32.lib, glu32.lib by doing following steps

Go To Project Property Page > Linker >Input >Additional

Picture Attached to give you a more fair idea.


  1. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
    Selenium training in Chennai

    Selenium training in Bangalore

  2. I appreciate that you produced this wonderful article to help us get more knowledge about this topic.
    I know, it is not an easy task to write such a big article in one day, I've tried that and I've failed. But, here you are, trying the big task and finishing it off and getting good comments and ratings. That is one hell of a job done!

    Selenium training in bangalore
    Selenium training in Chennai
    Selenium training in Bangalore
    Selenium training in Pune
    Selenium Online training