Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing GLFW on OSX

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

like image 665
Zotoaster Avatar asked Oct 16 '13 18:10

Zotoaster


2 Answers

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

brew tap homebrew/versions

brew install --build-bottle --static glfw2

like image 115
segfault Avatar answered Oct 25 '22 11:10

segfault


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
like image 28
informaton Avatar answered Oct 25 '22 10:10

informaton