Created
January 12, 2013 12:04
-
-
Save kopiro/4517583 to your computer and use it in GitHub Desktop.
How to run C/C++ OpenGL source files on Mac OS X without change the headers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo mkdir -p /System/Library/Frameworks/GL.framework/Headers/; | |
| sudo ln -s /System/Library/Frameworks/OpenGL.framework/Headers/gl.h /System/Library/Frameworks/GL.framework/Headers/gl.h; | |
| sudo ln -s /System/Library/Frameworks/OpenGL.framework/Headers/glu.h /System/Library/Frameworks/GL.framework/Headers/glu.h; | |
| sudo ln -s /System/Library/Frameworks/GLUT.framework/Headers/glut.h /System/Library/Frameworks/GL.framework/Headers/glut.h; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment