RE: [PyOpenGL-Users] force swig regen in src.rpm build?
Brought to you by:
mcfletch
From: Tarn W. B. <twb...@us...> - 2001-11-19 19:26:54
|
| I have replaced my libGL,libGLU,libglut libraries and want | to rebuild from PyOpenGL-2.0.0.44.py2-1.src.rpm. | | How can I force swig to regen. all the interfaces? | I'm hoping this will fix up my build errors. Unless you are planning on hacking the interface files you don't need SWIG. The distribution includes pre-generated wrappers for the various API versions, i.e. GLU 1.0, 1.1, etc. The problem that you are having is actually due to the fact that your GLU headers are buggy. See the "Mesa GLU bug" section in release notes on the SF download page. It discusses the various workarounds. Unfortunatly, if you insist on sticking with an RPM installation the method that adds a workaround to the PyOpenGL setup script isn't possible since one needs to apply the mesa-patch.tar.gz file over to top of PyOpenGL-bla.tar.gz SF is currently down so I can't send you a like to the release notes, but there is a short discussion in the docs also at http://pyopengl.sourceforge.net/documentation/manual/intro-ports.html hope that works, Tarn |