go-gl / gl

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

signal: killed, running examples on mac os #70

Closed walesey closed 7 years ago

walesey commented 7 years ago

MacOS version: 10.12.4 go version go1.7.5 darwin/amd64

$ go get github.com/go-gl/gl
$ go get github.com/go-gl/examples
$ go run $GOPATH/src/github.com/go-gl/examples/gl21-cube/cube.go
$ signal: killed

I also tried

$ go install github.com/go-gl/examples/gl21-cube
$ gl21-cube
$ Killed: 9

I also tried gl41core-cube, same problem: nothing happens program just returns that signal.

dmitshur commented 7 years ago

Do you have Xcode 8.3 or newer installed?

If so, I think your issue is https://github.com/golang/go/issues/19734, and you'll need to update to go1.8.1 to fix it.

walesey commented 7 years ago

Xcode 8.3 yea. Cool go1.8.1 fixed it, thanks for that 👍

OSMeteor commented 7 years ago

use go1.8.1 fixed it good