【发布时间】:2014-02-02 19:26:52
【问题描述】:
我是 Linux Mint 的新手,Python 的中级新手。我正在尝试运行一个使用 OpenGL 的程序。 OpenGL的安装似乎运行良好,但是当我运行我的程序时出现以下错误:
File "/home/username/anaconda/lib/python2.7/site-packages/PyOpenGL-3.1.0a3-py2.7.egg/OpenGL/platform/baseplatform.py", line 385, in __call__
self.__name__, self.__name__,
OpenGL.error.NullFunctionError: Attempt to call an undefined function glutGetWindow, check for bool(glutGetWindow) before calling
【问题讨论】:
-
你安装了 glut/freeglut 吗?
-
好的,我确实看到解决这个问题是多么容易。谢谢!
标签: python opengl glut pyopengl