Sign in to follow this  

OpenGL setup - Visual Studio 2005

This topic is 3845 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using visual studio 2005 and have been looking for tutorials on how to setup OpenGL for a while now. Does anyone have any websites / tutorials which I can use to setup OpenGL in Windows XP? (With GLUT would be nice)

Share this post


Link to post
Share on other sites
I can just tell you how to do it here.

You need to go under your project settings:

1) Go to "C/C++->General" and for additional include paths, add your OpenGL and GLUT include folders... you may not have to do that though, because it might already be in your IDE include path.

2) Under the linker general settings, under "Additional Library Paths", add the path to the .lib files for opengl and for glut.

3) Under the linker settings, find the additional libraries option, and add opengl32.lib, glu32.lib, and glut32.lib (check those names).

That should be all you need to do. Oh, make sure that all of the dlls (opengl32.dll, glu32.dll, glut32.dll... I think those are correct) are in your path at runtime. If you change the system path, make sure you restart visual studio, because it uses whatever the path was when you launch it.

Share this post


Link to post
Share on other sites

This topic is 3845 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this