Installing GLFW on OSX

拈花ヽ惹草 提交于 2019-12-12 07:34:28

问题


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.

Thanks


回答1:


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

brew tap homebrew/versions

brew install --build-bottle --static glfw2




回答2:


If you are still running into trouble with this and want to use homebrew, change the install command to reflect the newer GLFW version (3 as of this writing)

brew tap homebrew/versions

brew install --build-bottle --static glfw3


来源:https://stackoverflow.com/questions/19410945/installing-glfw-on-osx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!