Re: [Flightgear-devel] Confused header inclusion on IRIX with OSG
Selon Martin Spott : Frederic Bouvier wrote: Does anybody have sort of a 'recipe' for how to fix this ? add -DAPIENTRY to your c++ command line Hi Frederic, thanks for showing up again unfortunately this doesn't make the slightest difference, Does my last commit to simgear/math/SGMath.hxx improve your situation ? I had a similar problem under Windows and it fix it. -Fred -- Frédéric Bouvier http://frfoto.free.fr Photo gallery - album photo http://www.fotolia.fr/p/2278/partner/2278 Other photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Confused header inclusion on IRIX with OSG
Hello Frederic, Frederic Bouvier wrote: Does my last commit to simgear/math/SGMath.hxx improve your situation ? I had a similar problem under Windows and it fix it. Thank you very much for your kind support - still I have to tell you that the error messages look the same as before. I guess I'll use a pre-OSG binary for the demo at Lelystad. Best regards, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] Confused header inclusion on IRIX with OSG present
Hi, I'm trying to build FG with OSG on IRIX in order to show it on the FSWeekend this weekend, but I stumble over some strange effect. To me it appears that some OSG header files get referenced where they are of no use - but honestly: I don't know. I think I feel some repeating schema in this issue, In most of the cases the respective OSG headers get included via: simgear/math/SGVec3.hxx I put the compiler error log here - I noticed that Frederic replied when I first mentioned this problem on the list but unfortunately I didn't have the skills to turn his recommendation into something useful: http://www.mgras.net/~martin/MisleadInclude.txt Does anybody have sort of a 'recipe' for how to fix this ? Thanks, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Confused header inclusion on IRIX with OSG present
It's been a *long* time since I've wrangled with the irix compiler, but one idea would be to remove the APIENTRY keyword from one of those lines in the header file and then see if the error for that line disappears. If it does, then you know that APIENTRY is expanding to something wrong, or something your compiler doesn't like and you can work your way backwards and see what is defining APIENTRY.Curt. On 11/2/06, Martin Spott [EMAIL PROTECTED] wrote: Hi,I'm trying to build FG with OSG on IRIX in order to show it on theFSWeekend this weekend, but I stumble over some strange effect.To me it appears that some OSG header files get referenced where they are of no use - but honestly: I don't know. I think I feel somerepeating schema in this issue, In most of the cases the respective OSGheaders get included via:simgear/math/SGVec3.hxxI put the compiler error log here - I noticed that Frederic replied when I first mentioned this problem on the list but unfortunately Ididn't have the skills to turn his recommendation into somethinguseful:http://www.mgras.net/~martin/MisleadInclude.txt Does anybody have sort of a 'recipe' for how to fix this ?Thanks,Martin.-- Unix _IS_ user friendly - it's just selective about who its friends are !-- -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Flightgear-devel mailing listFlightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel-- Curtis Olson - University of Minnesota - FlightGear Project http://baron.flightgear.org/~curt/http://www.humanfirst.umn.edu/http://www.flightgear.orgUnique text: 2f585eeea02e2c79d7b1d8c4963bae2d - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Confused header inclusion on IRIX with OSG present
Hi Martin, On Thursday 02 November 2006 13:23, Martin Spott wrote: Does anybody have sort of a 'recipe' for how to fix this ? Try with current cvs? Greetings Mathias - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Confused header inclusion on IRIX with OSG
Curtis Olson wrote: It's been a *long* time since I've wrangled with the irix compiler, but one idea would be to remove the APIENTRY keyword from one of those lines in the header file and then see if the error for that line disappears. If it does, then you know that APIENTRY is expanding to something wrong, or something your compiler doesn't like and you can work your way backwards and see what is defining APIENTRY. This approach looks interesting - and indeed it shows some progress. While digging around I notices something that's strange to me (again). In: FlightGear/src/Cockpit/hud.hxx lines 760 and 761 (extern void fgUpdateHUD( osg::State* [...]) look somehow redundant to me, but this might be something special about C++. Do you consider this notation as usual ? Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Confused header inclusion on IRIX with OSG
Mathias Fr?hlich wrote: On Thursday 02 November 2006 13:23, Martin Spott wrote: Does anybody have sort of a 'recipe' for how to fix this ? Try with current cvs? Sorry, no difference, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Confused header inclusion on IRIX with OSG present
Selon Martin Spott : Hi, I'm trying to build FG with OSG on IRIX in order to show it on the FSWeekend this weekend, but I stumble over some strange effect. To me it appears that some OSG header files get referenced where they are of no use - but honestly: I don't know. I think I feel some repeating schema in this issue, In most of the cases the respective OSG headers get included via: simgear/math/SGVec3.hxx I put the compiler error log here - I noticed that Frederic replied when I first mentioned this problem on the list but unfortunately I didn't have the skills to turn his recommendation into something useful: http://www.mgras.net/~martin/MisleadInclude.txt Does anybody have sort of a 'recipe' for how to fix this ? add -DAPIENTRY to your c++ command line -Fred -- Frédéric Bouvier http://frfoto.free.fr Photo gallery - album photo http://www.fotolia.fr/p/2278/partner/2278 Other photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Confused header inclusion on IRIX with OSG
Frederic Bouvier wrote: Does anybody have sort of a 'recipe' for how to fix this ? add -DAPIENTRY to your c++ command line Hi Frederic, thanks for showing up again unfortunately this doesn't make the slightest difference, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Confused header inclusion on IRIX with OSG
Martin, did you try the -E switch to see what exactly the code expands to after the preprocessing? sometimes it helps to find the clue. gcc -E file.c file.i V - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Confused header inclusion on IRIX with OSG
Vassilii Khachaturov wrote: Martin, did you try the -E switch to see what exactly the code expands to after the preprocessing? sometimes it helps to find the clue. gcc -E file.c file.i To be honest: No, I didn't, but I should have done I will try that as well and see, if I find a clue. Thanks, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel