glut in Visual Studio 2012

Hi everyone,
I’m new at openGL. I want to install glut on it, I tried everything but I couldn’t install it. My windows is 64 bit and I use visual studio 2012. However I still get this error:" Cannot open include file: ‘GL/glut.h’: No such file or directory". How can I install glut?

Ok!
First of all you have to put the file glut.h in the folder GL of your project.
Usually, if the project name is AAA, you put in in AAA/AAA/GL, or simply just find your main file and then create a folder there name it GL and copy glut.h in it.

Then, go to Tools>Options>VC++ Folders .
There you have to add the file glut.h to the include.
Do the same thing for the 2 other glut files (put one int the binary and the other one in the bin part)

The above method of holyll did not work for me and googled for it,
I got my problem solved following the link below:

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&sqi=2&ved=0CFQQFjAD&url=http%3A%2F%2Fweb.eecs.umich.edu%2F~sugih%2Fcourses%2Feecs487%2Fglut-howto%2F&ei=zBtwUYvtL4SYtQbgiYDgCg&usg=AFQjCNH4VY48xuzNY0xjT0ZDhhhO8tPqkQ&sig2=c39P_L0YJKP7jaB1mhF38A&bvm=bv.45373924,d.d2k

Here’s the video on how to install Glut in visual studio 2012, it solved my problem. Hope it helps :slight_smile:

www[dot]youtube[dot]com/watch?v=YfhpVVq1Gx8

and sorry for the dot, cannot post links…

Mr.EverEast, Thanks for the useful info, been trying to fix this issue for 4 hours, atlast your suggestion saved me :slight_smile: thanks.