Hi there, I've been trying a unix way of building FlightGear for my daily/debug use, and I managed to reach a solution for intel Macs with OS X 10.5.x. So I added helper scripts to macflightgear's repository for doing download, patch, and build in one command!
You can download the build package (including xcode projects) from: http://macflightgear.svn.sourceforge.net/viewvc/macflightgear/trunk.tar.gz?view=tar untaring this will make trunk folder. To build fgfs, you type the following command under trunk folder (of course without $) in Terminal.app. $ sh ./localbuild.sh Then it magically builds everything. You need to type your password when asked (for a few times I guess). this is needed for installation and applying a patch to broken OpenAL.framework header file. After a while, you'll get fgfs in /usr/local/bin. To launch fgfs, you'll need to do: $ DYLD_LIBRARY_PATH=/usr/local/OpenSceneGraph/lib /usr/local/FlightGear/bin/fgfs --fg-root=/usr/local/FlightGear/data it is a bit long command, so making an alias command or a script will help you. Though the script still relies on macflightgear's svn repository due to Mac specific patches that conflicts with original FG/SimGear and fancy downloading mechanism, it is good that you don't have to wait for my updating XCode projects and directly build the latest FG/CVS on your end. It also saves your time in downloading everything you need. That's way handy, isn't it? Plus, you can also clean up everything using localclean.sh. Details are written in localbuild.sh, but I give you some usages: For taking a build log, try: $ sh ./localbuild.sh > build.log 2>&1 For updating source, data, and rebuilding fgfs, you can try: $ sh ./localbuild.sh --skip=patch For skipping a certain build process, you can try $ sh ./localbuild.sh --skip=download,patch,plib,osg This will skip downloading, patching, building plib and osg. If you want to have a debug version of fgfs, or want to build for ppc, then you need to change localbuild.sh See localbuild.sh for more detail. I need to patch Simgear's configure.ac and some Makefile.am at this moment, but will try modifying these so it works on both Mac and unix varients. More effort is needed for building OS X bundle and/or for ppc Macs with this way, but will take a while, so please be patient. Best, Tat p.s. Jari and James, Could you guys try this script? ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel