Re: [Flightgear-devel] [Gitorious] Activity: tomprogs pushed 1 commits to nextn...
Simgear doesn't compile on Windows : 17D:\FGFSHudsonCMake\SimGear\SimGear\simgear\nasal\cppbind\cppbind_test.cxx(76): error C2440: 'specialization' : cannot convert from 'naRef (__thiscall Base::* )(naContext,int,naRef *)' to 'naRef (__cdecl *const )(T ,naContext,int,naRef *)' 17 with 17 [ 17 T=Base 17 ] 17 There is no context in which this conversion is possible 17D:\FGFSHudsonCMake\SimGear\SimGear\simgear\nasal\cppbind\cppbind_test.cxx(76): error C2973: 'nasal::GhostT::method' : invalid template argument 'naRef (__thiscall Base::* )(naContext,int,naRef *)' 17 with 17 [ 17 T=Base 17 ] 17 d:\fgfshudsoncmake\simgear\simgear\simgear\nasal\cppbind\Ghost.hxx(446) : see declaration of 'nasal::GhostT::method' 17 with 17 [ 17 T=Base 17 ] 17D:\FGFSHudsonCMake\SimGear\SimGear\simgear\nasal\cppbind\cppbind_test.cxx(76): error C2668: 'nasal::GhostT::method' : ambiguous call to overloaded function 17 with 17 [ 17 T=Base 17 ] 17 d:\fgfshudsoncmake\simgear\simgear\simgear\nasal\cppbind\Ghost.hxx(446): could be 'nasal::GhostT nasal::GhostT::methodnaRef Base::member(naContext,int,naRef *)(const std::string )' 17 with 17 [ 17 T=Base 17 ] 17 d:\fgfshudsoncmake\simgear\simgear\simgear\nasal\cppbind\Ghost.hxx(425): or 'nasal::GhostT nasal::GhostT::methodnaRef Base::member(naContext,int,naRef *)(const std::string )' 17 with 17 [ 17 T=Base 17 ] 17 while trying to match the argument list '(const char [7])' 17 17Build FAILED. See http://flightgear.simpits.org:8080/job/SimGear-Win-CMake/lastFailedBuild/console Regards, -Fred - Mail original - De: Gitorious no-re...@gitorious.org À: fredfgf...@free.fr Envoyé: Lundi 12 Novembre 2012 23:28:10 Objet: [Gitorious] Activity: tomprogs pushed 1 commits to nextn... Hello fredb, One of your favorites has a new activity: tomprogs pushed 1 commits to next next changed from 55fbe68 to 04685a8 View the commit log at https://gitorious.org/fg/simgear/commits View the diff online: https://gitorious.org/fg/simgear/commit/55fbe68e6253d5cacba2bec840a49f1b7b026362/diffs/04685a81794f8332373c57450920fb6f706d8d07 Diff: commit 04685a81794f8332373c57450920fb6f706d8d07 Author: Thomas Geymayer tom...@gmail.com Date: Mon Nov 12 23:28:00 2012 +0100 C++/Nasal bindings: allow registering free function as member diff --git a/simgear/nasal/cppbind/Ghost.hxx ... -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [Gitorious] Activity: tomprogs pushed 1 commits to nextn...
Am 2012-11-13 10:54, schrieb Frederic Bouvier: Simgear doesn't compile on Windows : Seems like this is a VS bug. It is unable to distinguish between pointers to free functions and member functions - even though they have different signatures - if using for template specialization. I've pushed a workaround which delegates the specialization to the programmer by using different function names :) Tom -- Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org Student of Computer Science @ Graz University of Technology --- Austria -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] GPS waypoint sequencing depending on speed
Hi, Hate to be a nuisance, but is there any reason for this limit: if (_last_speed_kts 60) { // need valid leg course and sensible ground speed to compute the turn return; } in Instrumentation/gps.cxx line 770? If I have a vehicle with a ground speed of less than 60, the route manager does not sequence waypoints. Replacing with a value of 10, eveything works fine. I think this value is used mostly inside GPS::computeTurnRadiusNm (line 947). Cheers, Adrian -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Weather
Hi Thorsten Thanks a lot for helping me understand how this could work with METAR and advanced weather. Because I’m not that familiar with remarks in metars I misinterpreted position as possibility to distribute the center position by coordinates (forgive me pilots here), but it is just N/S/E/W etc. of the reporting location as I understand. The most advanced option is to do exact synchronization over the MP protocol by exchanging random seeds between clients. That's not so much additional Nasal, maybe a few hundred lines, but requires changes in other places as well. When I’m reading older threads and try to understand how the MP protocol works and where the sharing of random seeds could be really practicable too actually- I fear I should really take HLA/RTI into account. A weather engine creates a weather federation which could be shared by other participants. Since I'm not sure what exactly you want to do, I can't really tell you what the best option is. I want to synchronize some kind of raw weather data over the network I guess, independent of the viewport. This sounds simple, but I see ... it’s not. Ok, the random seed is just some kind of raw data too, but probably needs the HLA/RTI idea to be the most efficient option, not sure about at the moment. Anyway, thanks a lot for your reply -Yves -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel