From: Brian P. <bri...@tu...> - 2004-04-24 14:59:34
|
Rajavaram Priya wrote: > > Hi > I downloaded mesa from the site and installed it on Solaris 5.9. > We built it for 32-bit V8 nothreads configuration. > When we try to run a Qt example which uses Opengl it throws the following error to me: > "This system has no opengl support. Exiting." > > We have compiled Qt with the default option for openGl support which is : > -no-dlopen-opengl (QT Links against openGL libraries direclty). > > We have tried to diagnose the problem : > we have found that the function : glXQueryExtension() is failing. > > Please tell us how to rectify this problem. The implementation of glXQueryExtension() is in src/mesa/drivers/x11/fakeglx.c: static Bool Fake_glXQueryExtension( Display *dpy, int *errorb, int *event ) { /* Mesa's GLX isn't really an X extension but we try to act like one. */ (void) dpy; (void) errorb; (void) event; return True; } Perhaps the errorb and event values need to return some real values. Maybe try this: static Bool Fake_glXQueryExtension( Display *dpy, int *errorb, int *event ) { /* Mesa's GLX isn't really an X extension but we try to act like one. */ (void) dpy; *errorb = 1; *event = 1; return True; } -Brian |