[OpenGL] Running OpenGL program on Mac OS X


नमस्ते Today I am going to show how you can run OpenGL programs on your Mac OS X through command line (Terminal.App). 1. Use the header file "GLUT/glut.h" and not "GL/glut.h" 2. main function should return an integer type value. E.g. 3. Run the program by using the following command: We are passing -Wno-deprecated flag … Continue reading [OpenGL] Running OpenGL program on Mac OS X