Introduction
Whilst at the University of Essex, I took a module called “Interactive Computer Graphics” (or EE222 as we referred to it). Half of the course consisted of using POV‑Ray to create images, and then putting them together to make a high quality animation. The other half of the course consisted of programming real‑time interactive graphics using C and OpenGL, with the help the GLUT library freeglut. I went on to do my final year project, creating a simulation in C++ and OpenGL. It was the first time I had ever written a real application, and I still have a soft spot for GLUT.
For my university project, I used Nate Robins’ GLUT for Win32 project for the Windows build, and freeglut for the Linux build. Windows freeglut binary packages are somewhat hard to find, particularly for the MinGW compiler, so I’ve created suitable packages and put them online. You can use them to build freeglut applications using Microsoft’s Visual C++ and MinGW.
freeglut 2.8.0 MSVC Package
This package contains 32 and 64 bit Windows DLLs, import libraries, and header files, allowing freeglut applications to be written using Microsoft’s Visual C++. The package was built from source code using Visual Studio 2010. The DLL is binary compatible with both my MinGW DLL, and the GLUT for Win32 DLL provided by Nate Robins. The DLL has been tested on Windows 98 SE, Windows ME, Windows 2000, Windows XP, Windows Vista, and Windows 7 (64 bit version).
freeglut 2.8.0 MinGW Package
This package contains a Windows DLL, import library, static library, and header files, allowing freeglut applications to be compiled using the MinGW compiler. The package was built from source code using MinGW. The DLL is binary compatible with both my MSVC DLL, and the GLUT for Win32 DLL provided by Nate Robins. The DLL has been tested on Windows 98 SE, Windows ME, Windows 2000, Windows XP, Windows Vista, and Windows 7 (64 bit version).
Download freeglut 2.8.0-1 for MinGW
For further details on using freeglut with MinGW, see my GLUT MinGW article.
Older freeglut Packages
If you would prefer to download the older 2.4.0 or 2.6.0 packages, they can be found in the older GLUT packages directory. If you need to support Windows NT 4.0, you will need to download one of these packages as freeglut 2.8.0 is not supported on this platform.
Problems?
If you have problems using these packages (runtime errors etc.), please contact me, providing as much detail as you can. Please don’t complain to the freeglut guys unless you’re sure it’s a freeglut bug, and have reproduced the issue after compiling freeglut from the latest SVN version—if that’s still the case, I’m sure they would appreciate a bug report or a patch.