[Flightgear-devel] problems on integrating simgear with MFC frame
hi, there: i have been working on a project for simluation in the frame of mfc, and i want the utility of simgear for its strong support.Although i have exhausted almost all the compile and link options in VS9, still there were endless interruptions after the compile when i ran the program.Sometimes it rested at RegisterDotOsgWrapperProxy, and always it was concerning msvcr90.dll, for the conflict.would you like to give me some advices?many thanks for your kind rely! best wishes king -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] terragear compile error
On Thu, Apr 28, 2011 at 12:46 AM, Arnt Karlsen a...@c2i.net wrote: On Wed, 27 Apr 2011 15:13:21 +0200, Geoff wrote in message 1303910001.6472.18.camel@DELL02: ..if you bother to try that approach with my post to the list, you may see I addressed the list with this implied question: In file included from component.cxx:4:0: component.hxx:191:28: error: reference ‘_table_manager’ cannot be declared ‘mutable’ [-fpermissive] ..which I don't yet know how to fix. After a quick glance at the code I don't see why the mutable is needed there. Just remove that keyword. You could of course also use the -fpermissive switch as indicated by the error message. While that wouldn't actually fix the problem but it would get you a successful build. You know this will get quite BORING if you keep telling us about gcc 4.6 problems, if it is in fact a gcc problem... It isn't a gcc problem. It should not have worked *EVER*. It's just that gcc is being updated to detect more and more illegal things. Is it that a definition of a NULL has been removed from some standard headers, or is it really just gcc/g++ being picky? NULL has never been officially defined in any C++ header that I know. So code that relies on that is broken. -- Csaba/Jester -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] terragear compile error
On Thu, 2011-04-28 at 13:40 +0200, Csaba Halász wrote: [] NULL has never been officially defined in any C++ header that I know. So code that relies on that is broken. [] Hi Csaba, It is interesting you say that... do you have a reference? Always interested to learn, know more ;=)) But the 2 simple examples given previously :- // temp1.cxx #include stdio.h int main(int argc, char *argv[]) { char * cp = NULL; #ifdef NULL printf(NULL is defined ok\n); #else printf(NULL is NOT defined\n); #endif } and // temp2.cxx int main(int argc, char *argv[]) { char * cp = NULL; #ifdef NULL printf(NULL is defined ok\n); #else // printf(NULL is NOT defined\n); #endif } Then running g++ on each... ~/test$ g++ temp1.cxx ~/test$ ./a.out NULL is defined ok No problem, then ~/test$ g++ temp2.cxx temp2.cxx: In function ‘int main(int, char**)’: temp2.cxx:4: error: ‘NULL’ was not declared in this scope What am I missing here? ;=)) Does that not indicate NULL is defined in stdio.h, or in another header included by it, or do you not consider this a C++ header? Or something... In libio.h, included by stdio.h, I can see a block :- #ifndef NULL # if defined __GNUG__ \ (__GNUC__ 2 || (__GNUC__ == 2 __GNUC_MINOR__ = 8)) # define NULL (__null) # else # if !defined(__cplusplus) # define NULL ((void*)0) # else # define NULL (0) # endif # endif #endif Just to understand... Regards, Geoff. PS: ~/test$ g++ --version g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] terragear compile error
On Thu, Apr 28, 2011 at 6:24 PM, Geoff McLane ubu...@geoffair.info wrote: On Thu, 2011-04-28 at 13:40 +0200, Csaba Halász wrote: [] NULL has never been officially defined in any C++ header that I know. So code that relies on that is broken. [] It is interesting you say that... do you have a reference? Always interested to learn, know more ;=)) Erm, standards won't list things NOT defined, sorry :) Does that not indicate NULL is defined in stdio.h, or in another header included by it, or do you not consider this a C++ header? Or something... Indeed, stdio.h is not a c++ header. In C++ code, you can get NULL defined if you include cstddef or cstdio (and probably others, for which the C standard says it defines NULL). -- Csaba/Jester -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] FlightGear on LinuxTag 2011
Martin Spott wrote: Looks like we're going to have a booth this year again: http://www.linuxtag.org/2011/en.html I'll post an update as soon as the booth is definitely confirmed. I hope I did not sure if I forgot to send it. In case of doubt: Yes, the booth was confirmed. Does any of the non-German crowd plan to serve as booth staff or attend LinuxTag as a visitor ? Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] FlightGear on LinuxTag 2011
Martin Spott wrote: Does any of the non-German crowd plan to serve as booth staff or attend LinuxTag as a visitor ? Do virtual visitors count? Hm, only if you'll have an internet connection at the booth of course... Anyway, wish you all the best and lots of fun. From experience I can tell booths like this are very nice to participate in, so anyone who is able to go there: do it!! Even if it is just for a single day. Cheers, Gijs -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] FlightGear on LinuxTag 2011
On 28 Apr 2011, at 20:40, Martin Spott wrote: Does any of the non-German crowd plan to serve as booth staff or attend LinuxTag as a visitor ? Unfortunately this year I have a work commitment, but hopefully next year! James -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] FlightGear on LinuxTag 2011
Gijs de Rooy wrote: Do virtual visitors count? Hm, only if you'll have an internet connection at the booth of course... We'll see. Primary focus is to serve the local visitors ;-) Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] Global weather clouds
Hi Stuart, I saw that you recently made some updates and bug fixes to the global weather 3d clouds including fixing a problem with overcast coverage and also making clouds drift with the wind. This afternoon I started up at my local airport (KANE) and did observe the clouds drifting, which looks really good. But I also noticed some other discrepancies. The METAR report was (is): 2011/04/28 19:45 KANE 281945Z 36009KT 10SM BKN027 OVC032 A2981 KANE is officially at an altitude of 912' MSL I believe. The global weather dialog box shows that two clouds layers have been created. 1. @ 3612 MSL Broken 2. @ 4112 MSL Overcast This all appears to be correct 912 + 2700 for the broken layer, and 912 + 3200 for the overcast layer. However, when I observe what is actually drawn, I see just one broken layer and no overcast layer. In addition, the broken layer is drawn at about 2600 MSL or 1700 AGL (as reported by the HUD so the layer is drawn about 1000 feet too low.) Thanks, Curt. -- Curtis Olson: http://www.atiak.com - http://aem.umn.edu/~uav/ http://www.flightgear.org - http://gallinazo.flightgear.org -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel