skaslev / gl3w

Simple OpenGL core profile loading
http://github.com/skaslev/gl3w
The Unlicense
705 stars 157 forks source link

updated python script because link to gl3.h was broken #14

Closed TravisGesslein closed 10 years ago

TravisGesslein commented 11 years ago

http://www.opengl.org/registry/oldspecs/glcorearb.h is the new correct location (don't know why they changed it)

mcleary commented 11 years ago

I'm very interrested in this fix, don't know why this is taking so long since it is a single line change.

TravisGesslein commented 11 years ago

I noticed there's already another pull request from a year ago. Maybe the author just abandoned this place :D

mcleary commented 11 years ago

Maybe, I'm using a fork by assassini. Last update was from a couple of days ago.

SamwellTarly commented 11 years ago

I have this error:

Traceback (most recent call last): File "gl3w_gen.py", line 15, in web = urllib2.urlopen('http://www.opengl.org/registry/api/gl3.h') File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 442, in error result = self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 448, in error return self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 404: Not Found

which url should I use to fix it?