[PyOpenGL-Devel] [ pyopengl-Bugs-466736 ] GLUquadric and GLUnurbs undefined
Brought to you by:
mcfletch
From: <no...@so...> - 2001-10-01 12:02:22
|
Bugs item #466736, was opened at 2001-09-30 23:19 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105988&aid=466736&group_id=5988 Category: GLU Group: v2.0 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Tarn Weisner Burton (twburton) Summary: GLUquadric and GLUnurbs undefined Initial Comment: Hello. I experienced problem when compiling PyOpenGL 2.0.0.44 in the file GLU.__init__.0102.inc, gcc says that GLUquadric and GLUnurbs are not defined. So I have a look at my glu.h and I've found these lines (I've got a TNT2 and these includes are provided by nVidia) : in glu.h : typedef struct GLUquadric GLUquadricObj; typedef struct GLUnurbs GLUnurbsObj; to fix the bug and manage to compile, here are the lines I have added at the biginning of the file GLU.__init__.0102.inc : #define GLUquadric GLUquadricObj #define GLUnurbs GLUnurbsObj reguards, -Blam ---------------------------------------------------------------------- >Comment By: Tarn Weisner Burton (twburton) Date: 2001-10-01 05:02 Message: Logged In: YES user_id=21784 Most likely the same bug as "Mesa bug" see http://sf.net/project/shownotes.php? group_id=5988&release_id=50914 ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105988&aid=466736&group_id=5988 |