Skip to content
Advertisement

Tag: visual-studio-2017-build-tools

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

I’m following this very easy guide in order to make my first steps into PyOpenGL. I installed pip install PyOpenGL PyOpenGL_accelerate , all good. I tested the installation through the test code: import OpenGL.GL import OpenGL.GLUT import OpenGL.GLU print(“Imports successful!”) # If you see this printed to the console then installation was successful all good I now run this script:

Advertisement