読者です 読者をやめる 読者になる 読者になる

DELAEMON BLOG

Live as if you were to die tomorrow. Learn as if you were to live forever.

Go 1.5 gxui install & sample

cd Downloads/glew-1.12.0/
make
sudo make install
go get github.com/google/gxui
go get github.com/golang/freetype/truetype
go get github.com/go-gl-legacy/gl
go get -u github.com/go-gl/glfw/v3.1/glfw
go get -u github.com/goxjs/glfw
go get -u github.com/goxjs/gl
cd src/github.com/google/gxui/samples/polygon/
go run main.go

makeやgo get -u github.com/go-gl/glfw/v3.1/glfwあたりでエラーを吐くけど、コードは落としてこれてて動く
f:id:delaemon:20150913215808p:plain