Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65
James Seems all OK now. Thanks Alan P.S. MSVC has no compilation problems with the other commits you made today wlEmoticon-winkingsmile[1].png Description: Binary data -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65
On Wed October 9 2013 12:23:56 James Turner wrote: > On 9 Oct 2013, at 12:05, Alan Teeder wrote: > > Sorry, but the patch failed. It also needs the change suggested by Gijs, > > with “double x,y;” e.g. > Ah, I really hate C89 :) > > Fix coming up. Two same. Why not compile in cxx mode with appropriate extern declarations for M$VC? -sh -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65
On 9 Oct 2013, at 12:05, Alan Teeder wrote: > Sorry, but the patch failed. It also needs the change suggested by Gijs, with > “double x,y;” > e.g. Ah, I really hate C89 :) Fix coming up. James-- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65
Well, perhaps I could IF I had access to FG/SG on Gitorious. Regards Vivian From: James Turner [mailto:zakal...@mac.com] Sent: 09 October 2013 10:52 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65 On 9 Oct 2013, at 10:23, Vivian Meazza wrote: It's now getting on for a week since the build on Simgear was broken for Win 64/MSVC by this mistake. Any chance of a fix sometime soon? Yes, was just about to push one - however you can always push such a fix yourself! Regards, James -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65
James Sorry, but the patch failed. It also needs the change suggested by Gijs, with “double x,y;” e.g. static naRef f_round(naContext c, naRef me, int argc, naRef* args) { double x,y; naRef a = naNumValue(argc > 0 ? args[0] : naNil()); naRef b = naNumValue(argc > 1 ? args[1] : naNil()); if(naIsNil(a)) naRuntimeError(c, "non numeric arguments to round()"); if (naIsNil(b)) b.num = 1.0; #ifdef _MSC_VER // MSVC is not C99-compatible, no round() in math. y = a.num / b.num; x = floor(y + 0.5); #else x = round(a.num / b.num); #endif a.num = x * b.num; return VALIDATE(a); } Alan From: James Turner Sent: Wednesday, October 09, 2013 10:51 AM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65 On 9 Oct 2013, at 10:23, Vivian Meazza wrote: It’s now getting on for a week since the build on Simgear was broken for Win 64/MSVC by this mistake. Any chance of a fix sometime soon? Yes, was just about to push one - however you can always push such a fix yourself! Regards, James -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65
On 9 Oct 2013, at 10:23, Vivian Meazza wrote: > It’s now getting on for a week since the build on Simgear was broken for Win > 64/MSVC by this mistake. Any chance of a fix sometime soon? Yes, was just about to push one - however you can always push such a fix yourself! Regards, James -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65
It's now getting on for a week since the build on Simgear was broken for Win 64/MSVC by this mistake. Any chance of a fix sometime soon? Vivian From: James Turner [mailto:zakal...@mac.com] Sent: 03 October 2013 22:53 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65 On 3 Oct 2013, at 22:20, Alan Teeder wrote: Sorry, but MSVC does not have a round function. ;( Yes, C99 is a cutting-edge spec :) I'll add a replacement for MSVC, thanks for spotting my mistake. Kind regards, James -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65
Also, "double x;" needs to be declared at the top of the function (and then you will have "x = round(a.num / b.num);" of course). Cheers, Gijs -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65
Can I make a suggestion.. What I want to do is create a "simg...@freeflightsim.org" as an user. The idea is to knock out the latest "bleeding edge docs" and "changes" to simgear.. Example is here.. http://docs.freeflightsim.org/simgear/ But I prefer a "sub domain".. On the server, Doxygen is installed and parses and knocks out the documentation.. This included the dependancies etc.. So the Question I am really getting down to is.. 1) can I create a "jenkins-docs-slave".. every push in simgear or fg etc, triggers build.. 2) the build if succesful,, would be immeadeate on said webbsite... So LIVE DOCS time... ;-) The end goal for me.. and my objective.. ... The area is vast of FlightGear.. and so many "parts".. ... eg OSG, sqlite, openGl, osg, simgear, files as xml, inages, vectors, blobs, terrasynv, live update with udp, http, socket et all.. 3) I figured out hoe to interlink all the parts.. Twice - first pass is for simgear to build and create index, then fg and create index - run again as one will depend upind the other by then.. and then.. U get the whole html blob.. On the decicated.. its and nginx config to a static site as user simgear eg listen { simgear.freefligtsim.org simgear.flighgear.org; root /home/simgear/jenkings/build_html/ index index.html } So its automatically build at each commit trigger.. Does that make sense james.. Not sure what to do re double build.. Expected its on the "dedicated" and "paths" between "accounts".. or alike.. The only latest doxygen is an user on machine also, so compiled to latest version.. Pete On Thu, Oct 3, 2013 at 10:53 PM, James Turner wrote: > > On 3 Oct 2013, at 22:20, Alan Teeder wrote: > > Sorry, but MSVC does not have a round function. ;( > > > Yes, C99 is a cutting-edge spec :) > > I'll add a replacement for MSVC, thanks for spotting my mistake. > > Kind regards, > James > > > > -- > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > ___ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > > -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Simgear ,mathlib.c line 1 65
On 3 Oct 2013, at 22:20, Alan Teeder wrote: > Sorry, but MSVC does not have a round function. ;( Yes, C99 is a cutting-edge spec :) I'll add a replacement for MSVC, thanks for spotting my mistake. Kind regards, James -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel