freetype-py
freetype-py copied to clipboard
GLUT problem
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?
Not sure how this is an issue with freetype-py since it's clearly coming from pyopengl.
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
I'm seeing this issue too
Do you know if glut or freeglut is installed on your system ? And what is your system ?
@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.