freetype-py icon indicating copy to clipboard operation
freetype-py copied to clipboard

GLUT problem

Open rossant opened this issue 8 years ago • 5 comments

On Ubuntu 14.04 when running opengl.py example

/home/cyrille/miniconda3/lib/python3.5/site-packages/OpenGL/platform/baseplatform.py in __call__(self, *args, **named)
    405             raise error.NullFunctionError(
    406                 """Attempt to call an undefined function %s, check for bool(%s) before calling"""%(
--> 407                     self.__name__, self.__name__,
    408                 )
    409             )

NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling

I have already done sudo apt-get install freeglut3 freeglut3-dev. I installed PyOpenGL with pip. Any ideas?

rossant avatar Feb 04 '16 08:02 rossant

Not sure how this is an issue with freetype-py since it's clearly coming from pyopengl.

mdsitton avatar Feb 04 '16 08:02 mdsitton

You might try asking about this issue over here: https://github.com/mcfletch/pyopengl/issues or on the mailing list: https://lists.sourceforge.net/lists/listinfo/pyopengl-users

mdsitton avatar Feb 04 '16 08:02 mdsitton

I'm seeing this issue too

astrofrog avatar Sep 28 '16 11:09 astrofrog

Do you know if glut or freeglut is installed on your system ? And what is your system ?

rougier avatar Sep 28 '16 11:09 rougier

@rougier - I'm not sure, but this is on a temporary VM on EC2 so if you like I can give you the details so you can try and debug this interactively? If that would work for you, let me know if you have a public PGP key and I can send you the details.

astrofrog avatar Sep 28 '16 12:09 astrofrog