Re: [PyOpenGL-Users] GLE on linux systems
Brought to you by:
mcfletch
From: Stéphane A. <san...@fr...> - 2015-11-26 08:45:13
|
On 11/11/2015 19:26, Mike C. Fletcher wrote: > On 15/10/15 12:26, Stéphane ANCELOT wrote: >> Hi, >> >> I have noticed in my recent linux systems I was no more able to use >> GLE API with pyopengl. >> >> I tried reinstalling the sources, the problem is the same : >> I can import GLE but not use any functions . >> >> OpenGL.error.NullFunctionError: Attempt to call an undefined function >> gleSetJoinStyle, check for bool(gleSetJoinStyle) before calling >> >> I have found similar people with same problem, but no answer. >> >> I am a bit surprised, since setting up Release 3.0.2 from source is >> working , but not releases 3.1.x . >> >> I tried using ctypes and loading libgle libs, no problem. >> >> So, If there is no "good" reason, to inhibit it in 3.1.x releases it >> should work. > > Could you give more details as to *what* Linux systems? PyOpenGL is > primarily written on Kubuntu machines (12.04 and 15.10) and on both > GLE tests using PyOpenGL-Demo and OpenGLContext are all working. > OpenSuse 13.2 64 bits system. (you can testdrive it on susestudio.com) > Are you sure that you've created a GL context before calling any GLE > functions? This is a working / running application, with context, no problem. > I was working on getting the final 3.1.1 release out today, but it > seems that will need to wait until we address this (afraid I haven't > been monitoring my PyOpenGL folder as I worked on my conference > presentation). It looks like you are using ctypes, so I made few investigations and tried this : I had the /usr/lib64/libgle.so library file in the system. I made a symlink named "libGLE.so" in the same directory ===> now, PyOpenGL can run gle Commands ! That may give you some ideas... without any context, the following gle command should work : gleGetJoinStyle() gleSetJoinStyle(...) > Take care, > Mike > > > > -- > ________________________________________________ > Mike C. Fletcher > Designer, VR Plumber, Coder > http://www.vrplumber.com > http://blog.vrplumber.com > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users |