Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
CPP
OpenGL Learning
提交
b9021b14
O
OpenGL Learning
项目概览
CPP
/
OpenGL Learning
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
OpenGL Learning
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
b9021b14
编写于
5月 21, 2019
作者:
Z
zhyoung
提交者:
GitHub
5月 21, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update README.md
上级
c4269e9b
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
7 addition
and
7 deletion
+7
-7
README.md
README.md
+7
-7
未找到文件。
README.md
浏览文件 @
b9021b14
...
@@ -14,21 +14,21 @@ glfw将会被安装在`/usr/local/Cellar/glfw`
...
@@ -14,21 +14,21 @@ glfw将会被安装在`/usr/local/Cellar/glfw`
在
`/usr/local/Cellar/glfw`
路径下找到
`header`
和
`lib`
对应路径,在
`Xcode->Preferences->Localtion->Custom Paths`
设置路径。
在
`/usr/local/Cellar/glfw`
路径下找到
`header`
和
`lib`
对应路径,在
`Xcode->Preferences->Localtion->Custom Paths`
设置路径。
![
image
](
http
://git.oschina.net/orient01
/OpenGL-img/raw/master/localtion.png
)
![
image
](
http
s://gitee.com/zhyounger
/OpenGL-img/raw/master/localtion.png
)
3、配置
`header/library searcher path`
3、配置
`header/library searcher path`
在项目
`Build Settings`
中搜索
`header search`
,添加如下配置:
在项目
`Build Settings`
中搜索
`header search`
,添加如下配置:
![
image
](
http
://git.oschina.net/orient01
/OpenGL-img/raw/master/header.png
)
![
image
](
http
s://gitee.com/zhyounger
/OpenGL-img/raw/master/header.png
)
搜索
`library search`
,添加如下配置:
搜索
`library search`
,添加如下配置:
![
image
](
http
://git.oschina.net/orient01
/OpenGL-img/raw/master/library.png
)
![
image
](
http
s://gitee.com/zhyounger
/OpenGL-img/raw/master/library.png
)
4、在项目中导入需要的库文件,如下图示:
4、在项目中导入需要的库文件,如下图示:
![
image
](
http
://git.oschina.net/orient01
/OpenGL-img/raw/master/linked.png
)
![
image
](
http
s://gitee.com/zhyounger
/OpenGL-img/raw/master/linked.png
)
## 配置glad
## 配置glad
...
@@ -60,13 +60,13 @@ glfw将会被安装在`/usr/local/Cellar/glfw`
...
@@ -60,13 +60,13 @@ glfw将会被安装在`/usr/local/Cellar/glfw`
2、将生成的zip文件下载解压。将其中的
`include`
与
`src`
文件夹复制到项目目录中,并将三个文件拖入项目中
2、将生成的zip文件下载解压。将其中的
`include`
与
`src`
文件夹复制到项目目录中,并将三个文件拖入项目中
![
image
](
http
://git.oschina.net/orient01
/OpenGL-img/raw/master/ScreenShot.jpg
)
![
image
](
http
s://gitee.com/zhyounger
/OpenGL-img/raw/master/ScreenShot.jpg
)
3、在项目->属性->VC++目录中,添加包含目录和源目录
3、在项目->属性->VC++目录中,添加包含目录和源目录
![
image
](
http
://git.oschina.net/orient01
/OpenGL-img/raw/master/win-include.jpg
)
![
image
](
http
s://gitee.com/zhyounger
/OpenGL-img/raw/master/win-include.jpg
)
![
image
](
http
://git.oschina.net/orient01
/OpenGL-img/raw/master/win-src.jpg
)
![
image
](
http
s://gitee.com/zhyounger
/OpenGL-img/raw/master/win-src.jpg
)
# 至此Visual Studio配置基本完成
# 至此Visual Studio配置基本完成
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录