Files to program OpenGL (headers, lib etc)?

Hey,

I’ve been having so much trouble finding how to start programming OpenGL. I just can’t find where to get the right files anywhere.

The getting started guide says I need these:

gl.h
glut.h
glu.h
Opengl32.lib
glut32.lib
glu32.lib
Opengl32.dll
glut32.dll
glu32.dll

Any idea where these are available for download?

I did try openg.org but couldn’t find anything there.

Thanks alot in advance :slight_smile:

OpenGL32.dll and glu32.dll comes with OS.
gl.h, glu.h, OpenGL32.lib and glu32.lib comes with your C++ compiler (MSVC or MinGW).
glut you can get from freeglut project. Or alternatively use GLFW, SDL or SFML.

Right, starting again…

Thanks very much the response, it was very useful and easier to unerstand than some of the complicated ones I had recieved before =).

So I downloaded freeglut but it does not include glut32.dll.

Is it not meant to or…?

The files left that I do not have now are:

Opengl32.lib
glut32.lib
glu32.lib
glut32.dll

So, there are files missing from MinGW and freeglut (All .lib files and glut32.dll).

Also, when configuring freeglut it comes up with this response:

$ ./configure
checking for a BSD-compatible install… /bin/install -c
checking whether build environment is sane… yes
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for gcc… gcc
checking for C compiler default output file name… configure: error: C compile r cannot create executables
See `config.log’ for more details.

Even though I compile programs with it all the time…

Any help would be so greatly appreciated =(

(Is it just me, or is Mac OS X the only operating system that seems to run normal, plain, updated OpenGL without weird extras or problems? Everything supplied by Apple when downloading the Mac SDK…)

No, no no…

The only way you get OpenGL files is to spend MUCH TIME looking around for them and getting lucky.

God help you if you need a specific version like 2.0, 2.1

YOU’LL NEVER DO IT !

No one can tell you any correct information either.

He said… “OpenGL32.dll and glu32.dll comes with OS.”

Ha, Ha Ha. I have no idea why someone would say that.

Good luck, you’ll need it.

Ua…, Maybe if you figure it out you could help me ? :slight_smile:

Thanks,
-Areal

Hey, Try this, it might work :slight_smile:

http://web.cs.wpi.edu/~gogo/courses/mingw/

There’s a Wiki that you might bother reading; getting started with GL is a piece of cake.

No offense intended but…

Ya, ya, ya…

Just like every dummy knows that ALL THINGS are infinitely complex until fully understood.

Ua… do you mean this wiki ? Or some other ?
http://en.wikipedia.org/wiki/OpenGL

This wiki says the following…

“OpenGL 2.1 was released on August 2, 2006 and is backward compatible with all prior OpenGL versions”

How does one locate and insure that they have version 2.1 ?
Is it a piece of cake ? Please tell me how ?

Thanks,
-Areal

http://www.opengl.org/wiki/
http://www.opengl.org/registry/

http://tinyurl.com/nkb3fz

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.