Jump to content
  • Advertisement
Sign in to follow this  
Instigator

OpenGL setup - Visual Studio 2005

This topic is 4127 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!