View Full Version : Files to program OpenGL (headers, lib etc)?
06-11-2009, 02:23 PM
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:
Any idea where these are available for download?
I did try openg.org but couldn't find anything there.
Thanks alot in advance :)
06-11-2009, 04:30 PM
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 (http://freeglut.sourceforge.net/) project. Or alternatively use GLFW, SDL or SFML.
06-12-2009, 03:43 PM
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:
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:
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...)
06-21-2009, 11:15 PM
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 ? :)
06-21-2009, 11:25 PM
Hey, Try this, it might work :)
06-22-2009, 05:49 AM
There's a Wiki that you might bother reading; getting started with GL is a piece of cake.
06-22-2009, 11:28 AM
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 ?
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 ?
06-22-2009, 02:26 PM
06-23-2009, 03:46 AM
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.