Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Mik2

OpenGL OpenGL start

This topic is 5847 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

Hi, I want to start with OPENGL and i want to ask you what files to i need in order to use OPENGL.I have OpenGL32.dll/.lib/.h Glu32.dll/.lib/.h 10x

Share this post


Link to post
Share on other sites
Advertisement
I'm new to OpenGL as well, and I'm pretty sure that all files required come with either Windows, or Graphic's card drivers? All you need to do is link your program with these libaries:
OpenGL32.lib GLu32.lib GLaux.lib

and include the following files:

#include <gl\gl.h> // Header File For The OpenGL32 Library
#include <gl\glu.h> // Header File For The GLu32 Library
#include <gl\glaux.h> // Header File For The Glaux Library


If you run in to any trouble nehe.gamedev.net have a good article on setting up OpenGL.


[edited by - FlorianapoliS on July 18, 2002 4:11:50 AM]

Share this post


Link to post
Share on other sites
GLaux is not part of OpenGL. GLaux is evil . All you need to do OpenGL development in Windows are the gl.h and glu.h headers and the appropriate libraries to link with opengl32.dll and glu32.dll. The glext.h header is optional.

Share this post


Link to post
Share on other sites
quote:
Original post by Null and Void
GLaux is not part of OpenGL. GLaux is evil . All you need to do OpenGL development in Windows are the gl.h and glu.h headers and the appropriate libraries to link with opengl32.dll and glu32.dll. The glext.h header is optional.




yes it''s evil.. it was memory leaks :0

Metal Typhoon

Share this post


Link to post
Share on other sites

  • 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!