Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#21 GLUquadric and GLUnurbs undefined

v2.0
closed-fixed
GLU (21)
5
2001-10-03
2001-10-01
Anonymous
No

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

Discussion

  • 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

     
    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=21784

    I'm closing this on the assumption that it's the same as
    the Mesa bug.