OpenGL Multicolor Tetrahedron (C++)
Adding the OpenGL and GLUT Frameworks
When a C++ console application is created, the OpenGL and GLUT frameworks are by default not included. To include them, open the Remote Profiles panel and click the Add a new path item button from the right-hand side. In theAdd Remote Path Item or Edit Remote Path Item dialog:
- For OpenGL, set the path on remote machine
/System/Library/Frameworks
, the file maskOpenGL
, and the path type Framework. - For GLUT, set the path on remote machine
/System/Library/Frameworks
, the file maskGLUT
, and the path type Framework.
Update: The path on remote machine for newer version of XCode may change to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks
See also:
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_intro/opengl_intro.html
and
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_drawing/opengl_drawing.html#//apple_ref/doc/uid/TP40001987-CH404-SW8
No comments:
Post a Comment