Re: [Flightgear-devel] Running Flightgear on Mac OS X
That did it! Rebuilt SimGear and FlightGear and fgfs fired right up...Loaded quickly too. Very nice!!! Thank you guys! Felix On Thu, 10 Mar 2005 11:53:47 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Felix, Erik put into CVS a few hours ago a simgear/sound fix that will fix your problem. You will still see a white box on a black background, but this time it will eventually end with one of the fg startup pictures being shown. The problem was an infinite loop specific to mac os x that only showed up (I think) with gcc 3.3 and greater compilers (which is in the latest dev tools for mac os x) I think. Earlier compilers didn't seem to have this problem (at least for me they didn't 8-)). You can see which version of the compiler you have with gcc --version Mine is: gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I don't know why it's taking so long to put up a picture on the white box. It will need looking into on one of my better days (darned weather)! 8-) It would definitely be calmer for users (at least THIS user) to see a picture on the splash screen as soon as possible after the white box (or hold displaying the white box until the picture is ready, but then users might think FlightGear is not responding). Perhaps someone could figure out how to display a text message like loading FlightGear-required components. Please wait. in the white box until the picture is ready for display. (All the pictures are cool, but I especially like the triplane picture, BTW). Thanks to Eric for putting this in, and thanks to all the developers for the great flightsim AND for supporting Mac OS X! TTFN (ta-ta for now) Best regards, Ima ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Compiling Flightgear 0.9 from CVS on Mac OS X
I wish there was a document that would go over the entire build for Mac OS X. I forgot to build OpenAL for SimGear and i'm having difficulty. OpenAL has two a Macosx directory in the CVS Repository, and a Linux one. The mac os x one has an xcode project that doesn't build in xcode, and the linux one won't build either and fails with the following: cd jlib make all make[1]: Nothing to be done for `all'. cd src make all gcc -I../../include -I../include -I../audioconvert -Iarch -I. -g -O2 -fPIC -Wshadow -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -Wredundant-decls -c al_ext.c -o al_ext.o al_ext.c: In function `alGetEnumValue': al_ext.c:693: error: `AL_STREAMING' undeclared (first use in this function) al_ext.c:693: error: (Each undeclared identifier is reported only once al_ext.c:693: error: for each function it appears in.) al_ext.c:737: error: `AL_BYTE_LOKI' undeclared (first use in this function) al_ext.c:865: error: `AL_DISTANCE_SCALE' undeclared (first use in this function) al_ext.c:873: error: `AL_ENV_ROOM_IASIG' undeclared (first use in this function) al_ext.c:877: error: `AL_ENV_ROOM_HIGH_FREQUENCY_IASIG' undeclared (first use in this function) al_ext.c:881: error: `AL_ENV_ROOM_ROLLOFF_FACTOR_IASIG' undeclared (first use in this function) al_ext.c:885: error: `AL_ENV_DECAY_TIME_IASIG' undeclared (first use in this function) al_ext.c:889: error: `AL_ENV_DECAY_HIGH_FREQUENCY_RATIO_IASIG' undeclared (first use in this function) al_ext.c:893: error: `AL_ENV_REFLECTIONS_IASIG' undeclared (first use in this function) al_ext.c:897: error: `AL_ENV_REFLECTIONS_DELAY_IASIG' undeclared (first use in this function) al_ext.c:901: error: `AL_ENV_REVERB_IASIG' undeclared (first use in this function) al_ext.c:905: error: `AL_ENV_REVERB_DELAY_IASIG' undeclared (first use in this function) al_ext.c:909: error: `AL_ENV_DIFFUSION_IASIG' undeclared (first use in this function) al_ext.c:913: error: `AL_ENV_DENSITY_IASIG' undeclared (first use in this function) al_ext.c:917: error: `AL_ENV_HIGH_FREQUENCY_REFERENCE_IASIG' undeclared (first use in this function) make[1]: *** [al_ext.o] Error 1 make: *** [all] Error 2 I Know that i can just download the Mac OS X binary for FlightGear, but i'd much rather be able to build it from scratch so that i can play around with the code. Any ideas about my latest problem? Thanks again! Felix On Thu, 03 Mar 2005 11:52:15 -0600, Jonathan Polley [EMAIL PROTECTED] wrote: I am using MacOS X 10.3 and don't remember having to upgrade the automake tools, but I have updated to the most recent Xcode release. On Thursday, March 03, 2005, at 08:38AM, Arthur Wiebe [EMAIL PROTECTED] wrote: I don't know if anyone is aware of this but a document on building from source for Mac OS X is located at http://sourceforge.net/docman/display_doc.php?docid=26350group_id=126825 And for myself, I upgraded autoconf and automake in order to run autogen.sh from the FGFS CVS. For some reason Apple's versions don't work. On Thu, 3 Mar 2005 08:35:00 -, Giles Robertson [EMAIL PROTECTED] wrote: g++ -g -O2 -D_REENTRANT -L/FlightGear/lib -o test-up test-up.o -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lplibsg -lplibul -lz ld: can't locate file for: -lsgmath make[1]: *** [test-up] Error 1 make: *** [all-recursive] Error 1 That's failed to find the first SimGear library. Check that you installed (make install) SimGear after you built it, and that ./configure has detected the directory where it's installed. Giles Robertson ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d -- Arthur/ - http://artooro.blogspot.com (Weblog) - http://sourceforge.net/users/artooro/ ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d Of COURSE they can do that. They're engineers! ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Compiling Flightgear 0.9 from CVS on Mac OS X
Thank you Adam!!! Thats a good doc... Thanks again. Felix On Thu, 03 Mar 2005 13:05:51 -0800, Adam Dershowitz [EMAIL PROTECTED] wrote: There is: -- Adam From: Felix [EMAIL PROTECTED] Reply-To: FlightGear developers discussions flightgear-devel@flightgear.org Date: Thu, 3 Mar 2005 15:45:59 -0500 To: FlightGear developers discussions flightgear-devel@flightgear.org Subject: Re: [Flightgear-devel] Compiling Flightgear 0.9 from CVS on Mac OS X I wish there was a document that would go over the entire build for Mac OS X. I forgot to build OpenAL for SimGear and i'm having difficulty. OpenAL has two a Macosx directory in the CVS Repository, and a Linux one. The mac os x one has an xcode project that doesn't build in xcode, and the linux one won't build either and fails with the following: cd jlib make all make[1]: Nothing to be done for `all'. cd src make all gcc -I../../include -I../include -I../audioconvert -Iarch -I. -g -O2 -fPIC -Wshadow -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -Wredundant-decls -c al_ext.c -o al_ext.o al_ext.c: In function `alGetEnumValue': al_ext.c:693: error: `AL_STREAMING' undeclared (first use in this function) al_ext.c:693: error: (Each undeclared identifier is reported only once al_ext.c:693: error: for each function it appears in.) al_ext.c:737: error: `AL_BYTE_LOKI' undeclared (first use in this function) al_ext.c:865: error: `AL_DISTANCE_SCALE' undeclared (first use in this function) al_ext.c:873: error: `AL_ENV_ROOM_IASIG' undeclared (first use in this function) al_ext.c:877: error: `AL_ENV_ROOM_HIGH_FREQUENCY_IASIG' undeclared (first use in this function) al_ext.c:881: error: `AL_ENV_ROOM_ROLLOFF_FACTOR_IASIG' undeclared (first use in this function) al_ext.c:885: error: `AL_ENV_DECAY_TIME_IASIG' undeclared (first use in this function) al_ext.c:889: error: `AL_ENV_DECAY_HIGH_FREQUENCY_RATIO_IASIG' undeclared (first use in this function) al_ext.c:893: error: `AL_ENV_REFLECTIONS_IASIG' undeclared (first use in this function) al_ext.c:897: error: `AL_ENV_REFLECTIONS_DELAY_IASIG' undeclared (first use in this function) al_ext.c:901: error: `AL_ENV_REVERB_IASIG' undeclared (first use in this function) al_ext.c:905: error: `AL_ENV_REVERB_DELAY_IASIG' undeclared (first use in this function) al_ext.c:909: error: `AL_ENV_DIFFUSION_IASIG' undeclared (first use in this function) al_ext.c:913: error: `AL_ENV_DENSITY_IASIG' undeclared (first use in this function) al_ext.c:917: error: `AL_ENV_HIGH_FREQUENCY_REFERENCE_IASIG' undeclared (first use in this function) make[1]: *** [al_ext.o] Error 1 make: *** [all] Error 2 I Know that i can just download the Mac OS X binary for FlightGear, but i'd much rather be able to build it from scratch so that i can play around with the code. Any ideas about my latest problem? Thanks again! Felix On Thu, 03 Mar 2005 11:52:15 -0600, Jonathan Polley [EMAIL PROTECTED] wrote: I am using MacOS X 10.3 and don't remember having to upgrade the automake tools, but I have updated to the most recent Xcode release. On Thursday, March 03, 2005, at 08:38AM, Arthur Wiebe [EMAIL PROTECTED] wrote: I don't know if anyone is aware of this but a document on building from source for Mac OS X is located at http://sourceforge.net/docman/display_doc.php?docid=26350group_id=126825 And for myself, I upgraded autoconf and automake in order to run autogen.sh from the FGFS CVS. For some reason Apple's versions don't work. On Thu, 3 Mar 2005 08:35:00 -, Giles Robertson [EMAIL PROTECTED] wrote: g++ -g -O2 -D_REENTRANT -L/FlightGear/lib -o test-up test-up.o -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lplibsg -lplibul -lz ld: can't locate file for: -lsgmath make[1]: *** [test-up] Error 1 make: *** [all-recursive] Error 1 That's failed to find the first SimGear library. Check that you installed (make install) SimGear after you built it, and that ./configure has detected the directory where it's installed. Giles Robertson ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d -- Arthur/ - http://artooro.blogspot.com (Weblog) - http://sourceforge.net/users/artooro/ ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d Of COURSE they can do that. They're engineers! ___ Flightgear-devel mailing list
[Flightgear-devel] Compiling Flightgear 0.9 from CVS on Mac OS X
Hi, I am trying to compile FlightGear 09 on a Mac OS X. I got plib, and SimGear installed fine. But FlightGear won't perform the autogen.sh correctly. For some reason it doesn't generate the config.sub files necessary for ./configure. When i run ./configure i get: configure: error: cannot run /bin/sh ./config.sub and the reason for that is that config.sub isn't there. Autogen.sh creates links for config.sub and others for SimGear, but not for FlightGear. I read some posts on this list from other people who had the same problem, but no one had a solution. Anyone have any ideas what i can try? Thank you, Felix ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Compiling Flightgear 0.9 from CVS on Mac OS X
Thank you Adam! That worked! Felix On Wed, 02 Mar 2005 20:12:54 -0800, Adam Dershowitz [EMAIL PROTECTED] wrote: The mac build instructions should be included somewhere. If not here are the steps that you are having problems with: * Build FlightGear cd $BUILDDIR/src/source ./autogen.sh Automake should do the next two steps, but for some reason does not for FlightGear (but it does for SimGear, which is odd) ln -s /usr/share/automake-1.6/config.guess config.guess ln -s /usr/share/automake-1.6/config.sub config.sub ./configure --prefix=$BUILDDIR --without-x make You should only have to do this the first time that you build. -- Adam From: Felix [EMAIL PROTECTED] Reply-To: FlightGear developers discussions flightgear-devel@flightgear.org Date: Wed, 2 Mar 2005 22:56:42 -0500 To: flightgear-devel@flightgear.org Subject: [Flightgear-devel] Compiling Flightgear 0.9 from CVS on Mac OS X Hi, I am trying to compile FlightGear 09 on a Mac OS X. I got plib, and SimGear installed fine. But FlightGear won't perform the autogen.sh correctly. For some reason it doesn't generate the config.sub files necessary for ./configure. When i run ./configure i get: configure: error: cannot run /bin/sh ./config.sub and the reason for that is that config.sub isn't there. Autogen.sh creates links for config.sub and others for SimGear, but not for FlightGear. I read some posts on this list from other people who had the same problem, but no one had a solution. Anyone have any ideas what i can try? Thank you, Felix ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Compiling Flightgear 0.9 from CVS on Mac OS X
Spoke too soon...The configure worked but now the make fails: Making all in tests g++ -g -O2 -D_REENTRANT -L/FlightGear/lib -o test-up test-up.o -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lplibsg -lplibul -lz ld: can't locate file for: -lsgmath make[1]: *** [test-up] Error 1 make: *** [all-recursive] Error 1 Any ideas? Thank you!!! Felix On Wed, 02 Mar 2005 20:12:54 -0800, Adam Dershowitz [EMAIL PROTECTED] wrote: The mac build instructions should be included somewhere. If not here are the steps that you are having problems with: * Build FlightGear cd $BUILDDIR/src/source ./autogen.sh Automake should do the next two steps, but for some reason does not for FlightGear (but it does for SimGear, which is odd) ln -s /usr/share/automake-1.6/config.guess config.guess ln -s /usr/share/automake-1.6/config.sub config.sub ./configure --prefix=$BUILDDIR --without-x make You should only have to do this the first time that you build. -- Adam From: Felix [EMAIL PROTECTED] Reply-To: FlightGear developers discussions flightgear-devel@flightgear.org Date: Wed, 2 Mar 2005 22:56:42 -0500 To: flightgear-devel@flightgear.org Subject: [Flightgear-devel] Compiling Flightgear 0.9 from CVS on Mac OS X Hi, I am trying to compile FlightGear 09 on a Mac OS X. I got plib, and SimGear installed fine. But FlightGear won't perform the autogen.sh correctly. For some reason it doesn't generate the config.sub files necessary for ./configure. When i run ./configure i get: configure: error: cannot run /bin/sh ./config.sub and the reason for that is that config.sub isn't there. Autogen.sh creates links for config.sub and others for SimGear, but not for FlightGear. I read some posts on this list from other people who had the same problem, but no one had a solution. Anyone have any ideas what i can try? Thank you, Felix ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Re: Flightgear and lighting
On Wed, 19 Feb 2003 23:06:33 +0100 Martin Spott [EMAIL PROTECTED] wrote: On Wed, Feb 19, 2003 at 10:47:30PM +0100, Felix Kühling wrote: [... for German readers only ;-) ] Also, die vierte Koordinate ist wahrscheinlich nicht das Problem. Ich hab ein paar Debugausgaben in Mesa eingebaut, und die bestätigen, dass die vierte Koordinate immer 0.0 ist. I just found out by accident how to get correct lightning in FlightGear with current DRI drivers _and_ HW-TCL: Just look straight out of the cockpit and bank the plane 120 degrees to the right (not to the left, this does not work). Quite 'usuable' lightning happens between 90 and 180 degrees. This effect is absolutely independent of the direction I look (fly) into. Actually I saw this effect before and reported it to dri-devel. IIRC I also found out that the direction in which you have to bank depends on the simulated time of day, or in other words, the direction of the light source. Unfortunately I was not able to reproduce the effect with a simple test case. :-( Probably I just didn't try hard enough ... I've been testing this with the current release-of-the-day and an old 0.7.3 release (an RPM I picked from SuSE-7.1) and I can confirm that the effect is also valid with this outdated releases of FlightGear. The old binary is statically linked against 'plib' and 'metakit'. Any idea how this could be related ? Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- Felix __\|/_____ ___ ___ __Tschüß___\_6 6_/___/__ \___/__ \___/___\___You can do anything,___ _Felix___\Ä/\ \_\ \_\ \__U___just not everything [EMAIL PROTECTED]o__/ \___/ \___/at the same time! ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel