glut in Visual Studio 2012
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?
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:
Here's the video on how to install Glut in visual studio 2012, it solved my problem. Hope it helps
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 thanks.