Unable to build glfw 2.7.2 under osx lion

jcage3010 wrote on Tuesday, October 11, 2011:

hi and please forgive the extreme newbieness, but as I’ve been unable to
locate this error reported anywhere, I’d like to ask for your advice.

when issuing “make cocoa” under osx lion (with XCode4 installed) I get the
following errors:

cocoa_window.m:574: error: ‘NSOpenGLPFAOpenGLProfile’ undeclared (first use
in this function)
cocoa_window.m:574: error: (Each undeclared identifier is reported only once
cocoa_window.m:574: error: for each function it appears in.)
cocoa_window.m:574: error: ‘NSOpenGLProfileVersion3_2Core’ undeclared
(first use in this function)

Any idea on what might be wrong?
Thank you for you attention

jb89 wrote on Thursday, April 19, 2012:

Same problem here with 2.7.5 2012 - 4- 19

jb89 wrote on Thursday, April 19, 2012:

Got it working with the help of a friend,

Frist, I had to update Xcode 4.1 to Xcode 4.3.2. Then, I had to install the
Command Line Tools using Xcode preferences. After that I was able to
compile through the command line.