Che Hodgins // Musings on Web Development

Archive for the ‘opengl’ Category

OpenGL (glut) in Eclipse on Mac OSX 10.6

September 15, 2010openglView Comments

This took some research to get working so here is an overview.

  • Install MacPorts (http://www.macports.org/)
  • Install glut using MacPorts
    • sudo port install glut
  • Install X11
  • Download eclipse
  • Create or open an existing project in eclipse
  • Open project properties and set the following properties:

  • UseĀ #include <GLUT/glut.h>
  • Recompile project and voila.