[ pyopengl-Support Requests-429196 ] undefined symbol in _opengl.so

SourceForge.net <[email protected]> Tue, 12 Feb 2013 13:56:35 -0800
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Support Requests item #429196, was opened at 2001-05-31 17:59
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=205988&aid=429196&group_id=5988

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GL
Group: v1.5.6
Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Don Goodman-Wilson (captoblivious)
Assigned to: Tarn Weisner Burton (twburton)
Summary: undefined symbol in _opengl.so

Initial Comment:
When attempting to import OpenGL.GL, I recieve the
following error:

Traceback (most recent call last):
  File &quot;geodesic.py&quot;, line 4, in ?
    from OpenGL.GL import *
  File
&quot;/usr/lib/python2.0/site-packages/OpenGL/GL/__init__.py&quot;,
line 21, in ?
    import OpenGL.dynload._opengl
ImportError:
/usr/lib/python2.0/site-packages/OpenGL/dynload/linux-i386/_opengl.so:
undefined symbol: glPolygonOffsetEXT

Inspecting the opengl include files, and in particular,
&lt;GL/glext.h&gt; seemed to indicate (mind you, I have
little or no experience with OpenGL extensions) that 
GL_GLEXT_PROTOTYPES needed to be #define'd. So, in the
setup.py script, I added -DGL_GLEXT_PROTOTYPES to
enable extensions. When that failed, I explictly #def'd
it in _openglmodule.c. Again, this did not alleviate
the problem. What, then, needs to be done to rectify this?

Useful tidbits: Linux Mandrake 8.0, Kernel 2.4.3 (plus
Mandrake's patches) XFree86 4.0.3, Mesa 3.4.1 (with
NVIDIA_GLX 0.9-769), Python 2.0

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2013-02-12 13:56

Message:
nFQdgq  <a href="http://fihphtpijkla.com/">fihphtpijkla</a>,
[url=http://hmtvszrcgfaj.com/]hmtvszrcgfaj[/url],
[link=http://lpxijxqudnxt.com/]lpxijxqudnxt[/link],
http://vaqgsugjgomd.com/

----------------------------------------------------------------------

Comment By: Tarn Weisner Burton (twburton)
Date: 2001-06-30 08:59

Message:
Logged In: YES 
user_id=21784

This is really a bug in NVidia's driver.  If GL_EXT_* is 
defined then the correct protos should be exported.  To 
avoid this bug I changed _openglmodule.c to link to the non-
EXT proto if GL_VERSION_1_1 is defined.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-06-08 14:32

Message:
Logged In: NO 

fixed the problem. Source: NVidia OpenGL drivers rename some
-EXT functions. in _openglmodule.c i added:
#define glPolygonOffsetEXT glPolygonOffset
#define glArrayElementEXT glArrayElement
#define glDrawArraysEXT glDrawArrays
#define glBlendColorEXT glBlendColor
#define glBlendEquationEXT glBlendEquation
#define glPolygonOffsetEXT glPolygonOffset
#define glArrayElementEXT glArrayElement
#define glDrawArraysEXT glDrawArrays
#define glBlendColorEXT glBlendColor
#define glBlendEquationEXT glBlendEquation
at line 3384 or so.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=205988&aid=429196&group_id=5988

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net