chsc/gogl

Build error

Opened this issue · 1 comments

It seem that you may need to update the OpenGL specification website:

>> make bindings
...
...
WARNING: Unable to parse line: '<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"beacon-4.newrelic.com","queueTime":0,"licenseKey":"a2cef8c3d3","agent":"js-agent.newrelic.com/nr-476.min.js","transactionName":"Z11RZxdWW0cEVkYLDV4XdUYLVEFdClsdAAtEWkZQDlJBGgRFQhFMVUpBXBdEG0IMUEURWFhZXVcJUkcAVQE=","userAttributes":"SxpaQDpWQEANUFwWC1NZR1YBFQ9SBFlBB04SUUBsBEdcFl9TUw4RVRQRRhZSR2sLVF8HQAoacl0KWUxZCkBBQB8=","applicationID":"1841284","errorBeacon":"bam.nr-data.net","applicationTime":56}</script></body>' (Ignoring)
WARNING: Unable to parse line: '</html>' (Ignoring)
Parsing [gl.tm wgl.tm] files ...
Unable to parse line: '<!DOCTYPE html>'
make install_bindings
#go install ./gl21
#go install ./gl31
#go install ./gl42
go install ./gl43
can't load package: package github.com/chsc/gogl/gl43: no buildable Go source files in /Users/ragnarok/GoWorkspace/src/github.com/chsc/gogl/gl43
make[1]: *** [install_bindings] Error 1
make: *** [bindings] Error 2

in the glspecs directory, the content of gl.tm is some html indicate that this page is not exist in Bitbucket

so please update the download url in download.go:

AlfonseSpecsBaseURL    = "https://bitbucket.org/alfonse/gl-xml-specs/raw/tip/glspecs"

this url currently is not exist in Bitbucket

In case you're not aware, there's a fork of the second generation of this package that is more well maintained at github.com/go-gl/glow.

Glow is an OpenGL binding generator for Go. Glow parses the OpenGL XML API registry to produce a machine-generated cgo bridge between Go functions and native OpenGL functions. Glow is a fork of GoGL2.