Osx Lion header issues in 2.7.3

mchung123 wrote on Tuesday, February 14, 2012:

Hey guys I have been having trouble with glfw, I am on osx lion 2.7.3 mbp late
2011 with ATI card
I got the library static library to link and I have gotten 2.1 to work on osx
lion, I have tried core profile and it doesn’t seem to be working warning is
that glbindVertexArray has not be declared, when I switch to 2.6.3, it asks me
glbindVertexArray has not been declared do you mean glbindVertexArrayAPPLE ?
anyways heres the piece of code I used to test if this is working.

https://gist.github.com/1401335

can anyone help me out I have been at this for 4 days and no fruit thanks =)

mchung123 wrote on Tuesday, February 14, 2012:

anyone ?

mchung123 wrote on Tuesday, February 14, 2012:

???

elmindreda wrote on Tuesday, February 14, 2012:

This is an Open Source project. Everything is done by volunteers donating
their spare time, for free. Please try to keep this in mind.

You are using glBindVertexArray, which was added in OpenGL 3.0, without
declaring it first. The gl.h header on Mac OS X does not declare anything
above OpenGL 2.1.

If you don’t plan on building on anything except OS X Lion, you can use the
GLFW_INCLUDE_GL3 macro added in the most recent release. Otherwise, an
extension loading library is recommended.