Re: [Flightgear-devel] Re: FlightGear on Mac OS X
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
Re: [Flightgear-devel] Re: FlightGear on Mac OS X
Arthur, The missing symbol should be in the -lplibfnt library. Do you perhaps have an older version of plib (or parts of it) built with a different compiler still floating around on your system? By default plib tries to install itself in /usr/lib and /usr/include, so I would check there first. If you don't find anything there, then I'd probably do a find from the top level ... something like: find / -print | grep plibfnt (Note that different version of find can have slightly different behavior nuances, so if the above command doesn't quite do anything useful, check your local man page for appropriate options.) See if that turns up something that is trying to hide from you. If the compiler is finding an outdated libplibfnt.a in it's search path before the correct one, then you could see this sort of error. If that doesn't turn anything up, then we'll have to search for some other cause. Regards, Curt. Arthur Wiebe wrote: 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../..
Re: [Flightgear-devel] Re: FlightGear on Mac OS X
I actually had two different PLIB installations floating around. But only one in the prefix. But even after removing the other two I still get this error. On Fri, 12 Nov 2004 10:19:13 -0600, Curtis L. Olson [EMAIL PROTECTED] wrote: Arthur, The missing symbol should be in the -lplibfnt library. Do you perhaps have an older version of plib (or parts of it) built with a different compiler still floating around on your system? By default plib tries to install itself in /usr/lib and /usr/include, so I would check there first. If you don't find anything there, then I'd probably do a find from the top level ... something like: find / -print | grep plibfnt (Note that different version of find can have slightly different behavior nuances, so if the above command doesn't quite do anything useful, check your local man page for appropriate options.) See if that turns up something that is trying to hide from you. If the compiler is finding an outdated libplibfnt.a in it's search path before the correct one, then you could see this sort of error. If that doesn't turn anything up, then we'll have to search for some other cause. Regards, Curt. Arthur Wiebe wrote: 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.
Re: [Flightgear-devel] Re: FlightGear on Mac OS X
OK, I took a whack at drafting up a new set of Mac build instructions for the users guide. I would appreciate it if someone else could try to run through this step by step just to confirm that I did not miss anything (another set of eyes and a different computer is pretty useful for checking.). Arthur, since you are trying a bunch, perhaps you can start completely from scratch and just follow through these instructions step by step. It might help you and it might help get them checked. Anyway, I hope this is helpful. If anyone has any other edits or suggestions I would be happy to hear them or just pass them directly to Martin. --Adam And here are is the new procedure: How to build FlightGear v0.9.6 on Mac OS X. These steps worked fine for me, but I don't know if other OS versions etc. might also work: Mac OS 10.3.6 XCode 1.5 By default this included gcc 3.3, autotmake 1.6.3, autoconf 2.53, so nothing else is required. * Setup the build environment: Create the directory to build into, and one for the source. For example: mkdir FlightGear mkdir FlightGear/src then I like to just create an environment variable to this: export BUILDDIR=/where/ever/you/created/FlightGear * Download PLIB I first tried to use plib 1.8.3 but that will not compile properly on a Mac without a few changes. But, as of this writing, the CVS version will. You can either use CVS, or grab the snapshot from here: http://plib.sourceforge.net/dist/current.tgz If you open the above link it should automatically unpack to create a folder called plib. Drag (or copy) that folder into /where/ever/you/created/FlightGear/src * Build PLIB cd $BUILDDIR/src/plib ./autogen.sh ./configure --prefix=$BUILDDIR make install * Get SimGear sources cd $BUILDDIR/src cvs -d :pserver:[EMAIL PROTECTED]:/var/cvs/SimGear-0.3 login # Enter guest for password cvs -d :pserver:[EMAIL PROTECTED]:/var/cvs/SimGear-0.3 -z3 co SimGear * Build SimGear cd $BUILDDIR/src/SimGear ./autogen.sh ./configure --prefix=$BUILDDIR make install * Get FlightGear sources Here you can either download the released source from the web site, or use the CVS snapshot. cd $BUILDDIR/src For CVS do this: cvs -d :pserver:[EMAIL PROTECTED]:/var/cvs/FlightGear-0.9 login CVS passwd: guest cvs -z3 -d :pserver:[EMAIL PROTECTED]:/var/cvs/FlightGear-0.9 co source If you want to just grab the release, then get it from the web site, and put the code into src. * Build FlightGear cd $BUILDDIR/src/FlightGear ./autogen.sh ./configure --prefix=$BUILDDIR --without-x make * Get the base data files (if you don't have them already) again, you can just do a download from the web site, or you can use CVS. For CVS do this: cd $BUILDDIR (or where ever you want to put the data) cvs -d :pserver:[EMAIL PROTECTED]:/var/cvs/FlightGear-0.9 login CVS passwd: guest cvs -z3 -d :pserver:[EMAIL PROTECTED]:/var/cvs/FlightGear-0.9 co data * You are now ready to run FlightGear. There are a few different ways to do it. If you just do: cd $BUILDDIR src/FlightGear/src/Main/fgfs --fg-root=/path/to/data It should run. I believe that it will also try to search in $BUILDDIR/fgfsbase for data. Finally it will search for a file in your home directory .fgfsrc when it tries to start. You can put any startup flags that you want into that file. For example, if you put --fg-root=/path/to/data into that file, then you double click on src/FlightGear/src/Main/fgfs (or run it from the command line) then it should startup and run. Once it is built, you can move fgfs anywhere that you want, such as into the Applications folder. From: Martin Spott [EMAIL PROTECTED] Organization: home Reply-To: FlightGear developers discussions [EMAIL PROTECTED] Newsgroups: list.flightgear-devel Date: Thu, 11 Nov 2004 22:00:48 + (UTC) To: [EMAIL PROTECTED] Subject: Re: [Flightgear-devel] Re: FlightGear on Mac OS X [EMAIL PROTECTED] wrote: Do you think you might be able to modify the mac os x docs for 0.9.6 especially with regard to updating make tools for a successful source build? I'd welcome any sort of submission for documentation updates. This would be a great idea to get me back to working on the manual sheee I'd be happy to accept simple text and I will take care of converting this into LaTeX to match the existing layout, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Re: FlightGear on Mac OS X
Arthur Wiebe wrote: I actually had two different PLIB installations floating around. But only one in the prefix. But even after removing the other two I still get this error. Compilers will typically search a default path that usually/often includes /usr/include, /usr/lib, /usr/local/include, /usr/local/lib, and some usr/include tree specific to the compiler version. If you specify a prefix that simply appends additional search directories to the standard path. The next thing I would do, if you are sure you only have one copy of libplibfnt.a and are sure that was built with the same compiler version you are using to build flightgear is: run nm libplibfnt.a | less and search for instances of the string load. Do the same thing for layout-test.o See if the munged names actually match. If they don't there could be some type promotion assumption in the header file that your compiler isn't doing ... you may have to do some sort of explicite cast to force your compiler to use the exact same parameter and return types so that the name munging comes out identical. You shouldn't have to do this though since others seem to be able to build successfully. My money is still on some sort of stray copy of libplibfnt floating around or a mismatch in compiler versions, or you still have pieces of plib or flightgear that never actually got rebuilt when switched compiler versions. Regards, Curt. On Fri, 12 Nov 2004 10:19:13 -0600, Curtis L. Olson [EMAIL PROTECTED] wrote: Arthur, The missing symbol should be in the -lplibfnt library. Do you perhaps have an older version of plib (or parts of it) built with a different compiler still floating around on your system? By default plib tries to install itself in /usr/lib and /usr/include, so I would check there first. If you don't find anything there, then I'd probably do a find from the top level ... something like: find / -print | grep plibfnt (Note that different version of find can have slightly different behavior nuances, so if the above command doesn't quite do anything useful, check your local man page for appropriate options.) See if that turns up something that is trying to hide from you. If the compiler is finding an outdated libplibfnt.a in it's search path before the correct one, then you could see this sort of error. If that doesn't turn anything up, then we'll have to search for some other cause. Regards, Curt. Arthur Wiebe wrote: 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
Re: [Flightgear-devel] Re: FlightGear on Mac OS X
Arthur, You've come so far, please don't give up now! 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) Curt, Your command to find files works fine on Mac OS X.3.6, here's the result on my system: sudo find / -print | grep plibfnt Password: /FlightGear/fgdev9.6/lib/libplibfnt.a /FlightGear/fgdev9.6/src/plib/src/fnt/libplibfnt.a i.e. -- one built version, also copied to lib as the installed version Arthur, this is a plib issue. FlightGear is just the symptom. Have you tried any of the plib sample applications to see if your installed plib is in fact working? Just because something builds doesn't mean it works, I speak from unfortunate personal experience. 8-) Can anyone with plib developer authority possibly add these changes to plib/examples? They are required to build in Mac OS X Changes required to build plib examples on mac os x -- start -- To use plib installed in a non-standard directory, I needed to set: setenv LDFLAGS -L/FlightGear/fgdev9.6/lib setenv CPPFLAGS -I/FlightGear/fgdev9.6/include (these are uppercase L (LDFLAGS) and uppercase I (CPPFLAGS), BTW) before running ./configure in the ./examples direction I then needed to modify js_demo_LDADD to add a few frameworks js_demo_LDADD = -lplibjs -lplibul -framework IOKit -framework CoreFoundation in the ./examples/src/js/makefile. I also needed to change ./examples/src/ssg/majik/makefile to add -framework IOKit -framework CoreFoundation to the end of majik_demo_LDADD giving majik_demo_LDADD = -lplibjs -lplibssg -lplibsg -lplibul $(GLUT_LIBS) $(OGL_LIBS) -framework IOKit -framework CoreFoundation I also needed to change ./examples/src/pw/makefile to add -framework IOKit -framework CoreFoundation -framework ApplicationServices -framework Carbon to pw_demo_LDFLAGS giving pw_demo_LDFLAGS = -framework IOKit -framework CoreFoundation -framework ApplicationServices -framework Carbon I added the same to pw_pui_LDFLAGS in the same file lorenz.cxx doesn't seem to exist and broke the build I created lorenz.cxx containing main() { } and rebuilt. No idea what this is. -- Changes required to build plib examples on mac os x -- end Thanks! Ima ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Real flight playback with FG, based on recorded GPS data
I added the "GPS data recorder"under ftp://ftp.uni-duisburg.de/FlightGear/Misc_ols/src_03 and the "filtered"data playbackvideoftp://ftp.uni-duisburg.de/FlightGear/Misc_ols/LFBR_Landing_FG_03.AVI (to be compared to "rought" data playback ftp://ftp.uni-duisburg.de/FlightGear/Misc_ols/LFBR_Landing_FG_01.AVI and real flight video ftp://ftp.uni-duisburg.de/FlightGear/Misc_ols/LFBR_Landing_Real.AVI) I've filght tested this new "filtered" algorithm this afternoon and it's still "un-flyable" with 1 Hz GPS data stream: 3 seconds latency is way too much for attitude display. I'm eager to finish my home made MEMS IMU to definitively get rid of this latency. To flit from one subject to another, does anyone know if it would be easy/possible to displaythe flight plan in a "high way in the sky / tunnel" maner? Olivier - Original Message - From: Olivier Soussiel To: FlightGear Sent: Friday, November 12, 2004 1:33 AM Subject: [Flightgear-devel] Real flight playback with FG,based on recorded GPS data I finallely ended up using a Kalman filter to enhancePitch and Roll restitutionforreal flight playback, based on GPS data. I used the open source Bayesian Filtering Classes : Bayes++, in conjunction with Boost for the linear algebra part. Both are excellent libraries, for more details see http://bayesclasses.sourceforge.net/Bayes++.html. I gathered my source code on Martin's FTP site : ftp://ftp.uni-duisburg.de/FlightGear/Misc_ols/src_03 I'll re-videotaped the synthetic Flight Gear playback of the Real LFBR landing so that we can compare "rought" data playback with the "filtered" one. Olivier ___Flightgear-devel mailing list[EMAIL PROTECTED]http://mail.flightgear.org/mailman/listinfo/flightgear-devel2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d