在OSX上安装GLFW [英] Installing GLFW on OSX

查看:91
本文介绍了在OSX上安装GLFW的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经遍及Internet了,我简直找不到找到为OSX安装GLFW并将其与Xcode结合使用的方法.很多文章都使用cmake来解决这个问题,我尝试安装它,但是仍然无法从终端访问它.

I've been all over the internet and I simply cannot find a way to install GLFW for OSX and use it with Xcode. A lot of articles use cmake for this, which I tried to install but I still can't access it from the terminal.

我只需要一个简单的分步指南来安装它,因为我会不知所措.

I just need a simple step-by-step guide for installing it because I'm going to lose my mind.

谢谢

推荐答案

我使用自制软件来安装GLFW.配置了brew之后,请使用命令

I use homebrew to install GLFW. Once brew has been configured, use the commands

brew tap homebrew/versions

brew install --build-bottle --static glfw2

这篇关于在OSX上安装GLFW的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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