Re: [PyOpenGL-Users] Undefined glutInit
Brought to you by:
mcfletch
From: Ian M. <ia...@ge...> - 2019-05-10 15:01:23
|
Hi, It is unclear to me whether this is your code or someone else's, and I am not personally familiar with OSX. The usual culprit for `NullFunctionError`s is the lack of an OpenGL context, but I don't think `glutInit(...)` is one of the ones that requires (or indeed can succeed) the creation of one. I confirm your assessment of other programmers: there was some kind of bug with pip installs a while back. Given the simplicity of the problem, I'd expect some kind of setup issue, although I certainly don't know how to resolve it. Anyway, if this is your code, I would suggest not using GLUT, or at-least trying to reverse-engineer from a working sample. GLUT is ancient and bad—although in-fairness (and to my distress) people regularly still do use GLUT, in the face of better alternatives. If this is not your code, then it's worth a bug report to whichever project it is. Ian |