importing glut
Mike Fletcher
mfletch at tpresence.com
Mon Jan 29 10:01:37 EST 2001
You _shouldn't_ see a file named glut.py or Glut.py or even GLUT.py. You
should see a directory named GLUT. (I'm assuming you're using PyOpenGL
1.5.6 here). To import GLUT:
from OpenGL import GLUT # note GLUT, not Glut
or, more commonly:
from OpenGL.GLUT import *
See:
http://pyopengl.sourceforge.net/documentation/context/index.html
For a basic "get started with OpenGL contexts" document that includes a GLUT
example.
HTH,
MIke
-----Original Message-----
From: ABDENOUR HADID [mailto:hadidab at yahoo.fr]
Sent: Monday, January 29, 2001 4:16 AM
To: python-list at python.org
Subject: importing glut
hello
I am just beginner in programing with python. I
installed python and pyopengl on win98platform.
when I tried to import glut.py i receive the error
message :"importing the GLUT Library failed. the
GLUT32.DLL file should be on your path...."
I see the file Glut.py in the directory
c://python20//OpenGl//
I tried to import :OpenGl.Glut but same problem.
i added the c://python20//OpenGl// to Path..always
same problem...
so, can you help me..
thanks
___________________________________________________________
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
Yahoo! Messenger : http://fr.messenger.yahoo.com
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list