g++ -framework OpenGL -framework GLUT -framework Foundation textureCube.cpp