go-gl-legacy / gl

Go bindings for OpenGL
BSD 3-Clause "New" or "Revised" License
342 stars 52 forks source link

OSX go-gl/gl glew.h file not found #171

Closed rocketkittens closed 9 years ago

rocketkittens commented 9 years ago

Hey everyone, I am trying to use "go get github.com/go-gl/gl" But i get the following error message:

# github.com/go-gl/gl
In file included from src/github.com/go-gl/gl/attriblocation.go:7:./gl.h:2:10: fatal error: 'GL/glew.h' file not found
# include <GL/glew.h>
   ^
1 error generated.

Please help!

polyfloyd commented 9 years ago

Have you installed GLEW and are the headers in your include path?