x/mobile/gl Doesn't compile on Windows #23451
Labels
FrozenDueToAge
mobile
Android, iOS, and x/mobile
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?go1.9.2 windows/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?GOARCH=amd64
GOOS=windows
What did you do?
I tried to use a package that imported
x/mobile/gl
.What did you expect to see?
I expected
x/mobile/gl
to compile on WindowsWhat did you see instead?
Two errors, both in
work_windows.go
Is invalid, as
syscall.Syscall
requires five arguments.Is invalid, as
glDeleteVertexArrays
is not defined.The literal errors from the command line follow:
On my local machine, I resolved this by adding another
0
to thesyscall.Syscall
and by addingglDeleteVertexArrays = libGLESv2.NewProc("glDeleteVertexArrays")
at line 461, but I am not knowingly using these functions so I do not know that that is the appropriate fix.The text was updated successfully, but these errors were encountered: