I've added OpenGL.framework to my project but now I still get following message. I suppose I need it to install via brew tool? But what's the package name I need to install if so?
.../nanovg/src/nanovg_gl.h:287:3: Use of undeclared identifier 'glBindTexture'
.../nanovg/src/nanovg_gl.h:299:3: Use of undeclared identifier 'glStencilMask'
.../nanovg/src/nanovg_gl.h:316:3: Use of undeclared identifier 'glStencilFunc'
.../nanovg/src/nanovg_gl.h:367:5: Use of undeclared identifier 'glDeleteTextures'
.../nanovg/src/nanovg_gl.h:379:2: Use of undeclared identifier 'glGetShaderInfoLog'
.../nanovg/src/nanovg_gl.h:389:2: Use of undeclared identifier 'glGetProgramInfoLog'
.../nanovg/src/nanovg_gl.h:399:8: Use of undeclared identifier 'glGetError'
.../nanovg/src/nanovg_gl.h:416:9: Use of undeclared identifier 'glCreateProgram'
.../nanovg/src/nanovg_gl.h:417:9: Use of undeclared identifier 'glCreateShader'
.../nanovg/src/nanovg_gl.h:418:9: Use of undeclared identifier 'glCreateShader'
.../nanovg/src/nanovg_gl.h:420:2: Use of undeclared identifier 'glShaderSource'
.../nanovg/src/nanovg_gl.h:422:2: Use of undeclared identifier 'glShaderSource'
.../nanovg/src/nanovg_gl.h:424:2: Use of undeclared identifier 'glCompileShader'
.../nanovg/src/nanovg_gl.h:425:2: Use of undeclared identifier 'glGetShaderiv'
.../nanovg/src/nanovg_gl.h:431:2: Use of undeclared identifier 'glCompileShader'
.../nanovg/src/nanovg_gl.h:432:2: Use of undeclared identifier 'glGetShaderiv'
.../nanovg/src/nanovg_gl.h:438:2: Use of undeclared identifier 'glAttachShader'
.../nanovg/src/nanovg_gl.h:439:2: Use of undeclared identifier 'glAttachShader'
.../nanovg/src/nanovg_gl.h:441:2: Use of undeclared identifier 'glBindAttribLocation'
.../nanovg/src/nanovg_gl.h:287:3: Use of undeclared identifier 'glBindTexture'
.../nanovg/src/nanovg_gl.h:299:3: Use of undeclared identifier 'glStencilMask'
.../nanovg/src/nanovg_gl.h:316:3: Use of undeclared identifier 'glStencilFunc'
.../nanovg/src/nanovg_gl.h:367:5: Use of undeclared identifier 'glDeleteTextures'
.../nanovg/src/nanovg_gl.h:379:2: Use of undeclared identifier 'glGetShaderInfoLog'
.../nanovg/src/nanovg_gl.h:389:2: Use of undeclared identifier 'glGetProgramInfoLog'
.../nanovg/src/nanovg_gl.h:399:8: Use of undeclared identifier 'glGetError'
.../nanovg/src/nanovg_gl.h:416:9: Use of undeclared identifier 'glCreateProgram'
.../nanovg/src/nanovg_gl.h:417:9: Use of undeclared identifier 'glCreateShader'
.../nanovg/src/nanovg_gl.h:418:9: Use of undeclared identifier 'glCreateShader'
.../nanovg/src/nanovg_gl.h:420:2: Use of undeclared identifier 'glShaderSource'
.../nanovg/src/nanovg_gl.h:422:2: Use of undeclared identifier 'glShaderSource'
.../nanovg/src/nanovg_gl.h:424:2: Use of undeclared identifier 'glCompileShader'
.../nanovg/src/nanovg_gl.h:425:2: Use of undeclared identifier 'glGetShaderiv'
.../nanovg/src/nanovg_gl.h:431:2: Use of undeclared identifier 'glCompileShader'
.../nanovg/src/nanovg_gl.h:432:2: Use of undeclared identifier 'glGetShaderiv'
.../nanovg/src/nanovg_gl.h:438:2: Use of undeclared identifier 'glAttachShader'
.../nanovg/src/nanovg_gl.h:439:2: Use of undeclared identifier 'glAttachShader'
.../nanovg/src/nanovg_gl.h:441:2: Use of undeclared identifier 'glBindAttribLocation'