PDA

View Full Version : OpenGL lib Files ???



07-11-2002, 02:22 AM
Hi..

I was looking for the .lib files of OpenGL in the official site (opengl.org) ... and i failed to find them http://www.opengl.org/discussion_boards/ubb/frown.gif http://www.opengl.org/discussion_boards/ubb/frown.gif! howcome !!????? ... is it possible that i can't find the .lib files of OpenGL in the Official site of OpenGL itself !!! i find this really confusing !! http://www.opengl.org/discussion_boards/ubb/confused.gif

i've read the faq .. and didn't find anything http://www.opengl.org/discussion_boards/ubb/frown.gif !

In the "2.060 What do I need to compile and run OpenGL programs?" section, it says "To compile and link OpenGL programs, you'll need OpenGL header files and libraries" .. and guess what !! there is NO link there to provide the files for you ! ... here a nice try http://www.opengl.org/discussion_boards/ubb/smile.gif : "Where you get these files and libraries will depend on which OpenGL system platform you're using" .. aha, and ?? WHERE means WHERE !! they should tell me WHERE ! http://www.opengl.org/discussion_boards/ubb/frown.gif http://www.opengl.org/discussion_boards/ubb/wink.gif Logical, eh ?

wait wait ... here's the cheese-cake http://www.opengl.org/discussion_boards/ubb/smile.gif >>> "The OpenGL Organization maintains a list of links to OpenGL developer and end-user files (http://www.opengl.org/Downloads/Downloads.html) . You can download most of what you need from there" ... no that's not an error, the page is really not there !! 404 notfound http://www.opengl.org/discussion_boards/ubb/frown.gif !!

here another shot : "If you're using Visual C++, your compiler comes with include files for OpenGL and GLU, as well as .lib files to link with" ... nice ! what if i'm not ?? http://www.opengl.org/discussion_boards/ubb/frown.gif should i buy this $$$$$ compiler just to get FOUR .lib files !!

PLEASE PLEASE help with this very very beginning problem http://www.opengl.org/discussion_boards/ubb/smile.gif http://www.opengl.org/discussion_boards/ubb/smile.gif

Thanks in advance !
SuperGlue

Overmind
07-11-2002, 03:56 AM
You can find information about creating the import librarys for a dll here:
http://webclub.kcom.ne.jp/ma/colinp/win32/tools/dlltool.html

You need the GNU compiler suite to do this, if you have another compiler, look in its documentation about how to do this. You also need the OpenGL and GLU DLLs, they are in the system or system32 directory.

07-11-2002, 06:55 AM
First of All .. thank you, Overmind, for ur quick response.

Actually, i forgot to say which platform i develop in, its Win98\TC++ ... and about GNU suite, i'll try it and download cygwin .. thanks alot !

but the current problem is: I dont have a .def file for those DLLs! and the tool on the page mentioned is not found (deadlink) http://www.opengl.org/discussion_boards/ubb/frown.gif .. what can i do? is that .def file available on the net somewhere?

BTW, i find this way SOMEHOW difficult, and looks SOMEHOW sophisticated .. is this what ALL OpenGL beginners do?? i wonder !? if yes, why i didn't see anyone talking about it (at least for the last 3 pages!!) .. is there an easier way to get those libs ??

(stop asking more questions SuperGlue :P)
==========================================

nomad
07-11-2002, 07:19 AM
win98 is ok...but TC++??? as in Turbo C++??? the old DOS C/C++ compiler??? If i remember correctly, you can't create windows app with that compiler...

no, these stuffs aren't hard...if you're short on cash, try using dev-c++, it's free, search around the net on where to download it (or ask other here, since i never used it -- but it seems a lot of people do -- i use vc++).

07-11-2002, 09:29 AM
win98 is ok...but TC++??? as in Turbo C++??? the old DOS C/C++ compiler??? If i remember correctly, you can't create windows app with that compiler...

Yes, it's true that TC++ is a DOS compiler http://www.opengl.org/discussion_boards/ubb/smile.gif anyway.. that was 10 minutes ago http://www.opengl.org/discussion_boards/ubb/biggrin.gif now i have the gcc suite (under cygwin), also i have downloaded the opengl package (exactly, opengl-1.1.0-6) maybe its an old release, but i just want to get started, or this version will not work with most of today's examples and source codes ?? .. but that is not a big problem to me ... the problem is: i found only glut32.dll on the /bin folder !?? is this because it's an old version ??