One of my earlier blogs, OpenGL and glut in C++ with MS Visual Studio 2008 (MSVS9) described how to set up your Visual Studio and Computer to work with glut, as well as OpenGL. Now with the new edition, Microsoft Visual Studio 2010, as the version shifted from v6.0A to v7.0A, we need to change some path.So, here goes, what we need to do for using glut in MSVS10:
- Download the original
GLUTlibrary from Nate Robins’ site
- Unzip the download and copy files as instructed below,
glut.hto the folder
C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\gl\
glut32.libto the folder
C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\
glut32.dllto the folder
- You are now ready to use
All other things remain same as described on http://wp.me/puVgg-j
14 thoughts on “glut in MS Visual Studio 2010 (MSVS10)”
thank you (Y)
Thank you so much for this info! I’m a Computer Science student, and my professor uses an older version of VS in class, and I couldn’t figure out where to put the files 🙂
Tell me the version, I might try to suggest.
Anyway, Nate Robins’ original README has info about generic paths for VS 98; same path structures works for others too.
thanks to write a really “workable” blog for using glut on the VS series..
It save me lots of time.
(Hopes someday I can write this kind of good blogs like yours.)
It is nice that my quick-notes are helpful to you, and I’m proud that u put links to by blog there in your site 🙂
your blog is nice and neat and I really found that to be a good place for visiting frequently.
hello I was luck to look for your Topics in baidu
your topic is wonderful
I obtain a lot in your blog really thanks very much
btw the theme of you blog is really splendid
where can find it
It is gr8 that u liked my blog.
the theme I’m using now is one of the some themes from WP, u’ll get the theme link in the end of this webpage.
I just installed vs2010, by this method, the folder include should have the folder GL by default right? but i don’t have it. where can i find the other library that is suppose to be there?
I have done all of the instructions, but I still get error when write a sample code here:
int main(int argc, char* argv)
if (argv != NULL)
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
please, help me….
please try studying other posts from me on this series (http://bit.ly/inOpenGL) and ensure you do not miss a point. best of luck 🙂
I had a problem with my Windows 7 64 bit system. As soon as I wanted to start debugging, I got the following error message: […] could not find glut32.dll […]
It was necassary to copy the glut32.dll into C:\Windows\SysWOW64. After this it worked without a problem.
Maybe this information was helpful.
Yepp, albeit this info shall help others with same problem