go-gl / gl

Go bindings for OpenGL (generated via glow)
MIT License
1.07k stars 74 forks source link

Can't use version 3.1 #106

Closed SleepyMode closed 5 years ago

SleepyMode commented 6 years ago

It doesn't let me use go get on version 3.1

C:\Users\█████\go\src\███>go get -u github.com/go-gl/gl/v3.1/gles2
# github.com/go-gl/gl/v3.1/gles2
..\github.com\go-gl\gl\v3.1\gles2\package.go:35:11: fatal error: KHR/khrplatform.h: No such file or directory
 // #include <KHR/khrplatform.h>
           ^~~~~~~~~~~~~~~~~~~
compilation terminated.
aristotaloss commented 6 years ago

Had the same thing as you, this fixed it for me on Ubuntu: sudo apt-get install libgles2-mesa-dev

pwaller commented 5 years ago

I'm going to close this one since there were no further updates, I assume the solution presented by @Velocity- fixed things.