I have been trying to setup the OpenGL and GLUT libraries in Eclipse, with CDT, on OS X with not very much success. I cannot seem to get eclipse to actually realize where GL
I wrote an article about how to setup Eclipse to develop OpenGL (and GLUT) applications in C/C++ and Java in both Windows and Mac OS X if you are interested.
It contains all the steps and all you need to know to have the system ready.
You can find it here:
Setup Eclipse to develop OpenGL & GLUT apps in Java & C/C++ on Windows & MAC OS X!