I just started over again. Building PLIB, SimGear, and FlightGear all from CVS.
PLIB and SimGear worked of course but flightgear halts when building the GUI: Making all in GUI if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT new_gui.o -MD -MP -MF ".deps/new_gui.Tpo" -c -o new_gui.o new_gui.cxx; \ then mv -f ".deps/new_gui.Tpo" ".deps/new_gui.Po"; else rm -f ".deps/new_gui.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT dialog.o -MD -MP -MF ".deps/dialog.Tpo" -c -o dialog.o dialog.cxx; \ then mv -f ".deps/dialog.Tpo" ".deps/dialog.Po"; else rm -f ".deps/dialog.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT menubar.o -MD -MP -MF ".deps/menubar.Tpo" -c -o menubar.o menubar.cxx; \ then mv -f ".deps/menubar.Tpo" ".deps/menubar.Po"; else rm -f ".deps/menubar.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT gui.o -MD -MP -MF ".deps/gui.Tpo" -c -o gui.o gui.cxx; \ then mv -f ".deps/gui.Tpo" ".deps/gui.Po"; else rm -f ".deps/gui.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT gui_funcs.o -MD -MP -MF ".deps/gui_funcs.Tpo" -c -o gui_funcs.o gui_funcs.cxx; \ then mv -f ".deps/gui_funcs.Tpo" ".deps/gui_funcs.Po"; else rm -f ".deps/gui_funcs.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT gui_local.o -MD -MP -MF ".deps/gui_local.Tpo" -c -o gui_local.o gui_local.cxx; \ then mv -f ".deps/gui_local.Tpo" ".deps/gui_local.Po"; else rm -f ".deps/gui_local.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT mouse.o -MD -MP -MF ".deps/mouse.Tpo" -c -o mouse.o mouse.cxx; \ then mv -f ".deps/mouse.Tpo" ".deps/mouse.Po"; else rm -f ".deps/mouse.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT preset_dlg.o -MD -MP -MF ".deps/preset_dlg.Tpo" -c -o preset_dlg.o preset_dlg.cxx; \ then mv -f ".deps/preset_dlg.Tpo" ".deps/preset_dlg.Po"; else rm -f ".deps/preset_dlg.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT prop_picker.o -MD -MP -MF ".deps/prop_picker.Tpo" -c -o prop_picker.o prop_picker.cxx; \ then mv -f ".deps/prop_picker.Tpo" ".deps/prop_picker.Po"; else rm -f ".deps/prop_picker.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT sgVec3Slider.o -MD -MP -MF ".deps/sgVec3Slider.Tpo" -c -o sgVec3Slider.o sgVec3Slider.cxx; \ then mv -f ".deps/sgVec3Slider.Tpo" ".deps/sgVec3Slider.Po"; else rm -f ".deps/sgVec3Slider.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT trackball.o -MD -MP -MF ".deps/trackball.Tpo" -c -o trackball.o trackball.c; \ then mv -f ".deps/trackball.Tpo" ".deps/trackball.Po"; else rm -f ".deps/trackball.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT puList.o -MD -MP -MF ".deps/puList.Tpo" -c -o puList.o puList.cxx; \ then mv -f ".deps/puList.Tpo" ".deps/puList.Po"; else rm -f ".deps/puList.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT AirportList.o -MD -MP -MF ".deps/AirportList.Tpo" -c -o AirportList.o AirportList.cxx; \ then mv -f ".deps/AirportList.Tpo" ".deps/AirportList.Po"; else rm -f ".deps/AirportList.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT layout.o -MD -MP -MF ".deps/layout.Tpo" -c -o layout.o layout.cxx; \ then mv -f ".deps/layout.Tpo" ".deps/layout.Po"; else rm -f ".deps/layout.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT layout-props.o -MD -MP -MF ".deps/layout-props.Tpo" -c -o layout-props.o layout-props.cxx; \ then mv -f ".deps/layout-props.Tpo" ".deps/layout-props.Po"; else rm -f ".deps/layout-props.Tpo"; exit 1; fi rm -f libGUI.a ar cru libGUI.a new_gui.o dialog.o menubar.o gui.o gui_funcs.o gui_local.o mouse.o preset_dlg.o prop_picker.o sgVec3Slider.o trackball.o puList.o AirportList.o layout.o layout-props.o ranlib libGUI.a if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -I/usr/X11R6/include -D_REENTRANT -MT layout-test.o -MD -MP -MF ".deps/layout-test.Tpo" -c -o layout-test.o layout-test.cxx; \ then mv -f ".deps/layout-test.Tpo" ".deps/layout-test.Po"; else rm -f ".deps/layout-test.Tpo"; exit 1; fi g++ -I/usr/X11R6/include -D_REENTRANT -L/fgfs/lib -o layout-test layout-test.o libGUI.a -lsgprops -lsgdebug -lsgstructure -lsgmisc -lsgxml -lplibpw -lplibpu -lplibfnt -lplibul -framework GLUT -framework OpenGL -framework AGL -framework Carbon -lobjc ld: Undefined symbols: fntTexFont::load(char const*, unsigned int, unsigned int) make[2]: *** [layout-test] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 It almost seems to have something to do with GLUT, OpenGL, gl.h, and X11. If I try to build flightgear without setting CFLAGS and CXXFLAGS then I get the following when building in Aircraft: Making all in Aircraft if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/fgfs/include -g -O2 -D_REENTRANT -MT aircraft.o -MD -MP -MF ".deps/aircraft.Tpo" -c -o aircraft.o aircraft.cxx; \ then mv -f ".deps/aircraft.Tpo" ".deps/aircraft.Po"; else rm -f ".deps/aircraft.Tpo"; exit 1; fi In file included from ../../src/Main/renderer.hxx:5, from ../../src/Main/globals.hxx:45, from aircraft.cxx:35: /fgfs/include/simgear/screen/extensions.hxx:39:19: GL/gl.h: No such file or directory In file included from ../../src/Main/renderer.hxx:5, from ../../src/Main/globals.hxx:45, from aircraft.cxx:35: /fgfs/include/simgear/screen/extensions.hxx:97: error: `GLenum' was not declared in this scope /fgfs/include/simgear/screen/extensions.hxx:97: error: parse error before `)' token /fgfs/include/simgear/screen/extensions.hxx:98: error: `GLclampf' was not declared in this scope /fgfs/include/simgear/screen/extensions.hxx:98: error: parse error before `,' token /fgfs/include/simgear/screen/extensions.hxx:118: error: `GLenum' was not declared in this scope /fgfs/include/simgear/screen/extensions.hxx:118: error: parse error before `,' token /fgfs/include/simgear/screen/extensions.hxx:119: error: `GLenum' was not declared in this scope /fgfs/include/simgear/screen/extensions.hxx:119: error: parse error before `,' token /fgfs/include/simgear/screen/extensions.hxx:164: error: `GLenum' was not declared in this scope /fgfs/include/simgear/screen/extensions.hxx:164: error: parse error before `)' token /fgfs/include/simgear/screen/extensions.hxx:165: error: `GLenum' was not declared in this scope /fgfs/include/simgear/screen/extensions.hxx:165: error: parse error before `)' token In file included from ../../src/Cockpit/hud.hxx:55, from aircraft.cxx:39: ../../src/Include/fg_typedefs.h:88: warning: use of `long double' type; its size may change in a future release ../../src/Include/fg_typedefs.h:88: warning: (Long double usage is reported only once for each file. ../../src/Include/fg_typedefs.h:88: warning: To disable this warning, use -Wno-long-double.) make[2]: *** [aircraft.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 And it's the same thing if I enable SDL. Is there some way to make it use the OpenGL/GLUT framework? You can probably tell that I hardly know what I'm doing, everything's a guess :) Maybe if I do a fresh install of OSX it might work then. Well FlightGear is not worth that. This is the last day I'm going to work on this. If I can't get it to work today I will wait until Mac OS X 10.4 is released. (Tiger) On Thu, 11 Nov 2004 21:04:18 -0500, Arthur Wiebe <[EMAIL PROTECTED]> wrote: > Great to hear you got it! > > But I'm still having problems and I have been using "make clean" all > the time. Don't think that'll help for my situation. > > > > > On Thu, 11 Nov 2004 18:11:53 -0600, Curtis L. Olson > <[EMAIL PROTECTED]> wrote: > > Adam Dershowitz wrote: > > > > > > > > >I finally got it all to build and work! > > > > > >Curt, you were correct, despite what I said below. Seems that when I > > >rebuilt everything, it was not actually everything. I somehow missed a few > > >things. I think that the specific problem was that clouds3d is one > > >directory deeper than most other things, and I believe that I just did not > > >clear out the object files, or the library, that was there before I redid > > >the build. So it was trying to link against the version of that one > > >library > > >that I had built with 2.95.2. > > > > > > > > > > For those that are new to the unix style build system (and I don't mean > > to imply that you might be if you aren't) but you can run "make clean" > > in the top level source directory to clean out all the built object > > files, libs, and executables. This is usually a bit safer (and easier) > > than trying to find and remove them all by hand. > > > > >Once I cleared that up, it seems that it all did build as advertised, > > >except > > >that I did do those couple of patches to plib. But Arthur says that using > > >the CVS instead of the download of that will make that problem go away as > > >well. I should try that. > > > > > >Thanks for all of the help and suggestions. > > >FlightGear is a great program! > > > > > > > > > > Cool, glad to hear you are up and running! > > > > > > > > Curt. > > > > -- > > Curtis Olson http://www.flightgear.org/~curt > > HumanFIRST Program http://www.humanfirst.umn.edu/ > > FlightGear Project http://www.flightgear.org > > Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d > > > > _______________________________________________ > > Flightgear-devel mailing list > > [EMAIL PROTECTED] > > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > > 2f585eeea02e2c79d7b1d8c4963bae2d > > > > > -- > <Arthur/> > -- <Arthur/> _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d