[Pythonmac-SIG] pyopengl and OS X 10.2.3
boyle5@llnl.gov
boyle5@llnl.gov
Wed, 12 Feb 2003 14:33:41 -0800
Bob,
Thanks very much for the information.
Is there any way of getting your patches , other than the pyopengl SF
site?
The last patch(as yet unincoporated) for OSX dates back to last June!
It appears that there could be a long wait for this patch to be applied.
The heads up on Swig version is very useful, I burned an entire
afternoon because of this when I built pyopengl on my Linux box.
Jim
On Wednesday, February 12, 2003, at 09:45 AM, Bob Ippolito wrote:
>
> I just sent a patch to pyopengl's sourceforge page yesterday that gets
> PyOpenGL working with (apple's stock) python 2.2, my patch integrates
> jack's older patch and adds some additional niceness. In addition to
> whatever Jack fixed, my latest patch works around the glutInit problem
> where the working directory changes, the fact that OS X requires
> ranlib on static libraries (by poking inside distutils
> nondestructively, potential for 2.3 to be different about this), and
> also works around the bug in the 2.2 dynamic loader where two C
> extensions can't have the same filename (argh!) by renaming all of the
> __init___.so's to PKGNAME__init___.so.. etc, and creating __init__.py
> files that do "from PKGNAME__init__ import *" to import the shadow
> file and get everything out of it.
>
> Presumably, it would also work with Python 2.3.
>
> Make sure to have Swig 1.3.13 installed, the version is very
> important.. Jack figured that one out :)
>
> -bob
>