Since this is a C library wrapper, you might also need the equivalent of:
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
on OS X. But, more importantly, you should call glfwInit
(or it's equivalent glfw.Init
) prior to calling any other GLFW3 function. AFAIK, only glfwSetErrorCallback
can be used prior to this call.