学习笔记:OpenGL 环境配置 Mac OS X

说明:该配置是针对Project的,即每次新建Project都要配置一次。

步骤:

1、new Project -> Application -> Command line tool

2、input file name, choose C++ -> next -> create

3、choose the project -> Build Settings -> Deployment -> target: 10.9 -> 10.8

4、Build Phases -> Link binary with Libraries -> + -> GLUT.framework, OpenGL.framework

5、Done!

你可能感兴趣的:(C++,OpenGL)