Re: [PyOpenGL-Users] Continued problems with PyOpenGL 2.0.1.04 on Mac OS X with (fink) Python 2.3
Brought to you by:
mcfletch
From: Richard M. <rp...@wa...> - 2003-05-12 19:01:56
|
You were correct, build_togl was set to 0 in the darwin.cfg file. I tried setting this to 1, but ran into some other problems when I tried to import OpenGL.GL: rpm-osx(~/Programs/PyOpenGL-2.0.1.04)106 % python Python 2.3b1 (#1, May 12 2003, 03:53:15) [GCC 3.1 20020420 (prerelease)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import OpenGL.GL Traceback (most recent call last): File "<stdin>", line 1, in ? File "OpenGL/__init__.py", line 26, in ? from GL.__init___ import __numeric_present__, __numeric_support__ ImportError: No module named GL.__init___ >>> The strange thing about this is that I was able to build and import OpenGL.GL before I changed build_togl to 1, it was only when I tried to import OpenGL.Tk that I ran into trouble. OS X does have Tkinter, through the fink interface, which is the version of Python I'm using. Has anyone successfully built togl under fink? If so, can you offer any pointers? Thanks in advance, Rick On Monday, May 12, 2003, at 10:29 AM, Mike C. Fletcher wrote: > > Togl is a binary extension to the Tk GUI, I can't really tell from > your question whether you built PyOpenGL yourself, or solved the > problem by using a binary distribution. If you built it yourself, > it's quite likely that during configuration, you either didn't have > tkinter installed, or you disabled the building of togl to try and get > PyOpenGL to compile and then didn't turn it back on before the final > compile (build_togl = 1 should be in your darwin.cfg)... just noticed > that it's actually disabled by default in the latest source (Jack and > co, is this for a reason? Does OS X even have tkinter?) > > Rick Muller rp...@wa... http://wag.caltech.edu/home/rpm |