[Plib-users] Re: flightgear problem
Brought to you by:
sjbaker
From: Stephen L. <le...@na...> - 2001-09-01 06:17:03
|
Gentlemen, I have joined this list because I have the "flightgear" problem. I have just read a weeks worth of discussion concerning the "ssgInit called without a valid OpenGL context". I tried to compile FlighGear 0.7.8 on a PowerPC running YellowDogLinux 2.0. Although based on RH 7 there is no MMX and the compiler is 2.95.3 There has been much speculation and not much science in this discussion. I compiled the plib_examples and get the same message from examples/src/ssg/tux/tux_example and examples/src/ssg/viewer/viewer Further investigation indicates that *after* calling 'glutCreateWindow' there is no valid OpenGL context according to 'ssgInit'. How does ssgInit determine this? It calls 'glXGetCurrentContext' which returns NULL even though 'glutCreateWindow' thinks it has created a valid context.. Thus the root of the problem is an incompatibility between: 'glutCreateWindow' and 'glXGetCurrentContext'. 'ssgInit' doesn't have much to do with it except that it generates the error message. It is easier to debug a small program with these two calls than to begin with FlightGear... Now my question, to which groups should this information be directed? Thsnks for interest, Stephen Lewis Platform Macintosh G4 Cube and YellowDogLinux 2.0 OpenGL 1.2, Mesa 3.4 and GLUT 3.7 |