GLUT v3.7 for Darwin

From the readme (included inside the archive):

Prebuilt GLUT v3.7 for Darwin
=============================
If you wish to build a GLUT-based OpenGL application that runs under Apple's X11 server, you cannot generally use the bundled Appled GLUT Framework or the library contained within as Apple's GLUT framework is an enhanced version that makes calls into various Objective-C-based Cocoa frameworks.
The solution is to download and compile a standard GLUT distrubition for yourself.. or.. save yourself the work and just use the prebuilt one in this archive.
If building an app called test that links with this GLUT library, you would put the included header and library files in the same folder as your source. Then you'd include the glut.h header in your project thus:
#include "glut.h"

and your compile and link commands could be something like:
gcc -c -I/usr/X11R6/include -o test.o test.c
gcc -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXi -lXext -lX11 -o test test.o

Happy coding,
Philip Lamb
2004-02-25

Download the archive here in .tgz format