ここで質問の作成者と同じチュートリアルに従おうとしています。 残念ながら、そのページの下部にあるサンプル コードを実行しようとすると、次のエラーが発生します。
Traceback (most recent call last):
File "C:\Users\Matt\workspace\pygletTest\main.py", line 9, in <module>
from gletools import ShaderProgram, FragmentShader, VertexShader
File "build\bdist.win32\egg\gletools\__init__.py", line 9, in <module>
# See the README file for information on usage and redistribution.
File "build\bdist.win32\egg\gletools\texture.py", line 454, in <module>
File "build\bdist.win32\egg\gletools\texture.py", line 455, in ArrayTexture
NameError: name 'GL_TEXTURE_2D_ARRAY' is not defined
Windows Vista で Python 2.6 と Eclipse を使用しています。これを解決する方法についてのアイデアはありますか?