博客园  :: 首页  :: 新随笔  :: 订阅 订阅  :: 管理

2012年7月29日

摘要: 1. 新建一个“Command Line Tool” C++工程2. Build Phases 的Link Binary With Libraries中添加GLUT.framework和OpenGL.framework3. 包含如头文件,just like this#include <OpenGL/gl.h>#include <OpenGL/glu.h>#include <GLUT/glut.h> 阅读全文

posted @ 2012-07-29 17:58 扬名 阅读(177) 评论(0) 推荐(0) 编辑