Attempt to call an undefined function glutInit

Problems:

  • There was no problem with pip install or easy_install
  • The glut.dll and glut32.dll were missing. (They are not part of the PyPI package) you have to install them separately or download it like I did.

Unzipped the dll files from the glutdlls.zip and placed them next to my python file.

Note: You can add the dll files to your PATH variable. Not necessary to keep them next to the py file.

Leave a Comment