Re: Undefined glutInit
Ian Mallett <[email protected]> Fri, 10 May 2019 09:01:01 -0600
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CAG4NV=tXwsoEEa6-pGYxEE7ssv=thpZ5W6xTit-KhEUSPpa7Jw@mail.gmail.com> |
--===============7663424976333203077== Content-Type: multipart/alternative; boundary="000000000000726cb9058889d6d9" --000000000000726cb9058889d6d9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=94although in-fairness (and to my distress) people regularly stil= l 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 --000000000000726cb9058889d6d9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi,</div><div><br></div><div>It is unclear to me whet= her this is your code or someone else's, and I am not personally famili= ar with OSX. The usual culprit for `NullFunctionError`s is the lack of an O= penGL context, but I don't think `glutInit(...)` is one of the ones tha= t requires (or indeed can succeed) the creation of one. I confirm your asse= ssment 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.<br><= /div><div><br></div><div>Anyway, if this is your code, I would suggest not = using GLUT, or at-least trying to reverse-engineer from a working sample. G= LUT is ancient and bad=E2=80=94although in-fairness (and to my distress) pe= ople regularly still do use GLUT, in the face of better alternatives. If th= is is not your code, then it's worth a bug report to whichever project = it is.<br></div><div><br></div><div>Ian<br></div></div> --000000000000726cb9058889d6d9-- --===============7663424976333203077== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7663424976333203077== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-users --===============7663424976333203077==--