Re: [PyOpenGL-Users] Tkinter OpenGL Context problem?
Brought to you by:
mcfletch
From: <il...@ya...> - 2002-09-13 04:29:49
|
hi, I still haven't managed to compile pyopengl properly on windows yet, so I can't really help. I haven't got microsoft VC, and mingw is not being nice to me ;) I'll see if I can try it out on a friends XP computer, maybe later today or tommorow. Unfortunately pyopengl 1.5.5, and 2.0.0.44 are different in a few areas. If you need to get your program working quickly, perhaps try uninstalling 2.x and install 1.5.x Is this error happening with the tk demo programs? These may be helpful in seeing the differences between the two versions. Anyone got a list of differences between 1.5.5, and 2.0.0.44? Maybe comparing the function names/arguments would be useful. Although the behaviour of some functions is different too. --- Larry Cuba <cu...@io...> wrote: > Hello Everyone, > > Your help is needed on this problem: > > Python code that runs perfectly on my old > Win2K machine, dies on my new > WinXP machine with the latest versions > of Python, Tkinter and PyOpenGL. > > The Tk windows appear, but then the program > crashes with the first call to glPushMatrix(). > > Could this be a problem with the Tkinter > OpenGL context? Do I need to do something > to accommodate the later versions of > the software? > > Any suggestions would be most appreciated. > Version info and error message below. > > Thanks. > Larry Cuba > > Version summary of my two machines: > > Win2K box WinXP box > Python 1.5.2 2.2 > OpenGL 1.5.5 2.0.0.44 > Tk/Tcl 8.0 8.3 > > > Error Message: > > Exception in Tkinter callback > Traceback (most recent call last): > > File "C:\Program > Files\Graphics\Python22\lib\lib-tk\Tkinter.py", > line 1292, in __call__ > return apply(self.func, args) > > File > "C:\PROGRA~1\Graphics\Python22\Lib\site-packages\OpenGL\Tk\__init__.py", > > line 212, in tkExpose > self.tkRedraw() > > File > "C:\PROGRA~1\Graphics\Python22\Lib\site-packages\OpenGL\Tk\__init__.py", > > line 198, in tkRedraw > glPushMatrix() > > GLerror: [Errno 1283] stack overflow __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |