1. OpenGL Drivers
OpenGL Drivers and Libraries
This page originally existed as a handy bundle of the DLL, header and library files I was using for the early Swiftless OpenGL tutorials. It also told people to copy DLLs into Windows system folders. That was fairly normal advice at the time, but it has aged about as well as you would expect.
What you actually need on Windows
OpenGL itself is provided by your graphics driver. Make sure you have a current driver from NVIDIA, AMD or Intel for your hardware. The Windows SDK provides the core Windows OpenGL headers/import library used by these older tutorials, while an extension loader is used for OpenGL functionality beyond the old Windows baseline.
For the Swiftless OpenGL 2.x tutorials I use:
- FreeGLUT for creating the window and handling input: freeglut.sourceforge.net
- GLEW for loading OpenGL extensions/functions: glew.sourceforge.net
Follow the installation instructions supplied by those projects for your compiler, or use whatever dependency/package-manager approach makes sense for your development setup. If you are using Visual Studio, keeping the include/library paths and runtime DLLs scoped to the project is much nicer than throwing files into global Windows folders and forgetting where they came from six months later.
What happened to the old Swiftless downloads?
The old download bundles contained files such as opengl32.dll, glu32.dll, glut32.dll, GL.H, GLU.H, GLAUX.H, glut.h, glext.h, OPENGL32.LIB, GLAUX.LIB and the old vbogl.tlb Visual Basic type library.
I have deliberately removed the public download links from this page. They are useful as a description of what these tutorials originally depended on, but they are not a sensible development environment to install on a modern machine. If you are restoring a genuinely old project, treat the filenames above as historical context and source appropriate versions from trusted/current project archives.
If you are starting with tutorial 1, the OpenGL Window tutorial now points to the current FreeGLUT and GLEW projects and explains the safer project-local setup.
Questions or corrections? If something doesn’t work or you spot something I’ve got wrong, leave a comment below. These tutorials have been around a long time, so useful corrections are always welcome!
Why i still face the same problems?
Cannot open include file: ‘GL/glaux.h’: No such file or directory.
i have install everything that needed same as tutorial..
I have glut32.dll but computer tells me that I have not it.
Can somebody help me please?
Hi Photon! I guess you should put it in the same folder than your application. You can as well put it in the System32 folder. This will only work if your computer says you don’t have it otherwise you would have a message error saying it is not the right glut32.dll (wrong version or so).
Cheers!!!
Thanks a lot
Thanx
working charm
I downloaded the latest version of glaux.h and glaux.lib, but I can’t use function like ‘auxSolidSphere()’ using Borland C++ 5.5 Other opengl functions do work. Compiling with BCC32.Exe I get the following error mesage: “unresolved external ‘auxSolidSphere’ referenced from “c:\borland\bcc55\bin\triangles.obj” What’s the problem?
how can i solve this error @visual studio 2010 any help please?
”
Linking…
MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
C:\Documents and Settings\mohamed\My Documents\Visual Studio 2008\Projects\first\Debug\first.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at “file://c:\Documents and Settings\mohamed\My Documents\Visual Studio 2008\Projects\first\first\Debug\BuildLog.htm”
first – 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========”
Hi Ahmed,
Try creating a Win32 Console Application instead of a Win32 Application.
Cheers,
Swiftless
Thanks! Thanks! Thanks a lot.
I need this and couldn’t find anywhere
Indeed it is good to have these files together. But the driver library set is old [1.2]. What do we need to jump to OpenGL with Gl-aux functions, shading & rendering options which have been around for several years. Is there no one churning out a tlb for OpenGl 4.1?
I am interested in being in touch with anyone using VB with a high end openGl driver set
wiznav@gmail.com
Hey Frankie,
The tlb was built for Visual Basic 6.0, and hasn’t been updated in many years. Theoretically you could write your own tlb wrapper for the current OpenGL drivers.
Cheers,
Swiftless
It is good to find the required files at one place.
hi – thanks a million
is this the latest vbogl.tlb? how do we know which version of opengl it supports? 1.2 or 3.0 or 4.0?
Hi frankie,
I’m not sure, it was the latest at the time, and last time I checked they had stopped developing it since. It supports (I believe) OpenGL 1.5 and even then I think it was missing methods.
Cheers,
Swiftless
Is it any individual’s or group’s responsibility to ensure the Vbogl.tlb library is current? How difficult is it fix it so that it’s upto speed with OpenGL 3.0 and later? Can you do it? or do you know anyone who can? It sad that it doesn’t have all the superb methods the ‘c’ blokes enjoy
Hi Frankie,
This is the page where you can get information on vbogl.tlb:
http://home.pacific.net.hk/~edx/tlb.htm
Good luck contacting the guy though, his main page says the site was put up in 1998 and it doesn’t look like anything has been done with it since.
Personally I wouldn’t bother, Visual Basic is too slow compared to C++ to interest most computer graphics programmers. This is why a lot of languages don’t have native support for OpenGL or Direct3D.
A type library is like a wrapper, which links visual basic calls to the native calls inside of a dll file (If I remember correctly). You can make them yourself, but it might take a little bit of work.
Cheers,
Swiftless
Thank you!
it’s not working for the Include: GLU.H, GL.H, GLAUX.H, GL/GL.H, GL/GLAUX.H, GL/glext.h, GL/GLU.H, GL/glu_.h, GL/glut.h files D: HELP
Hey Alvin,
I’ll take a look for you, in the meantime, try the zip folders if the other downloads won’t work..
Cheers,
Swiftless
Thank you!
thank you !
Thank you very much, please keep these files forever, because there has merely places could be found for downloadind!!!
Thank you, thank you, thank you very much!!
thanks so much!
Thank you very much, there really is all that is needed for the first time such a find!
please upload cv.h also
Hey Ankit,
That’s for OpenCV. You can get that from their website.
Cheers,
Swiftless
i can’t use your dll files!!!
wath are into??
Can you update the pack? What average versions (2010 or 2009) did you use for these many files?
Well there is some problem with your “dll files” zip file..
My rar is not opening it and telling that it is broken or bad file…
Plz check it and try to make it good…
Well really helpful thanks a lot…
Also i would like to have a game making library for c++ with examples(any)…
If u can provide plz help me..
I am really interested in c++ programming and have learnt a lot . Now i want to make games bur no site on th web is providing direct game examples along with the library to make them..
I had downloaed allegro from one site but that had 1000s of errors in it..What a mess!!
If u will help me i will be really thankful…
Thank you very much. Really needed the glaux files.
Hi
Drivers are not downloading. Please see this.
A great site for OpenGL.
thanks.
thanks a lot 🙂
u could have put tat “all files in one download” link at the top of others…
Hey, just wanted to let you know that the OpenGL drivers are inaccessible. You might want to re-upload them.
Thanks, I’ll look into it.
Cheers,
Swiftless
thanks alot for your effort
You are awesome !! God bless you !
Hey! thanks a lot. it really helped 🙂
Thank you very…… very….much.
God Bless You !
You are help me.
thank you for such a great tutorials….
will be better if you give all files of a project in a zip ( can be included vs or dev c++ project)
Well all I can say is God Bless You ! You are helping whole coders mankind !
It’s helpful! Thank you very much!
Great!
Thank you very much.
Thanh you very…… very….much.
Thank you very much!!!
thank you very much
THANK YOU!! REALLY THANK YOU FOR UPDATING THIS!! THANK YOU SO MUCH!
Thank you, thank you, thank you! I’ve bben trying to get openGL running on win 7 for about a week now but until i came to your tutorial and lib abd include links I was stumped! Thanks so much!