karalabe / xgo

Go CGO cross compiler
MIT License
2.14k stars 280 forks source link

How to compile with GLES #187

Open tapir opened 4 years ago

tapir commented 4 years ago

While trying to compile gioui I get this error

/go/pkg/mod/gioui.org@v0.0.0-20200229151555-bd7c7a108a9e/app/internal/glimpl/gl.go:40:23: fatal error: GLES2/gl2.h: No
such file or directory
 #include <GLES2/gl2.h>
                       ^
compilation terminated.

Any way around this?