I have compiled everything without problem but I have an error that occurs at runtime when trying to launch the first tutorial :
//freeglut (./Tut 01 MainD): glXCreateContextAttribsARB not found//
I compiled everything using the following flags :
LDFLAGS="-L/usr/X11R6/lib -lX11 -lGLU -lGL -framework OpenGL -framework GLUT" CPPFLAGS="-I/usr/X11R6/include" CC="clang -emit-llvm"
I’m running Mac OS 10.7.3