如何将OpenGL数学(GLM)添加到Xcode 4? [英] How do I add OpenGL Mathematics (GLM) to Xcode 4?

查看:765
本文介绍了如何将OpenGL数学(GLM)添加到Xcode 4?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法弄清楚如何将框架添加到我的项目。我试过添加它像任何其他框架,通过单击链接二进制与库的加号按钮,然后单击其他,然后选择GLM文件夹。

I can't figure out how to add the framework to my project. I tried adding it like any other framework, by clicking the plus button under Link Binary With Libraries and then clicking 'other' and then selecting the GLM folder. But when I go to included it, the autocomplete works but it can't build because it says the file is not found.

图书馆网站:

Website for library: http://glm.g-truc.net/

推荐答案

根据网站,它不是一个框架,它只是标题。您应该直接将标题添加到您的项目。

According to the website, it's not a framework, it's only headers. You should just add the headers directly to your project.

这篇关于如何将OpenGL数学(GLM)添加到Xcode 4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆