Curtis L. Olson writes: > > Norman Vine writes: > > Getting rid of GLUT dependencies is a good thing > > even if the message in the CVS Log is a more then > > a *little* scary since it 'mentions' moving to SDL > > We should probably have an open discussion on the developers list > about this at some point. I'm not ready to make the jump at the > moment, but I've been investigating the possibilities. > - plib dependencies on glut. As I understand it, at least pui (the > opengl gui stuff which flightgear uses heavily) has a lot of glut > dependencies hardwired in. I'd love to be wrong about this.
Hmm have you tried configuring --without-glut build GLUT-free PUI library (highly experimental!) This has worked for me before There have been a few changes in the menu code since then but my guess is it will still work as long as you provide some other means of getting at an OpenGL suface > - The default GLUT is problematic in the latest RedHat, and many linux > distributions ship with a version that doesn't work correctly with > catch/throw which results in segfaults whenever an exception is > thrown. AFAICT Redhat and other distributions are chomping at the bit waiting for the pending freeglut release Perhaps if a few of the 'Nix' FlightGear users were to try building PLIB with freeglut and sharing their results with the freeglut developers this release would happen sooner :-) AFAIK it should just work > > attached patch gets rid of all mention of GLUT from > > the cockpit directory > > I appreciate the fixes ... I had looked at that code yesterday and > assumed it was going to be much harder to make it glut free. Well I had been meaning todo that cleanup ever since I changed the HUD to use PLIBs texturemapped fonts and finally had a reason to actually do it, < the if it ain't broke, leave it alone principal > Cheers Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
