Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-10 Thread James Turner

On 9 Feb 2013, at 20:39, Vivian Meazza vivian.mea...@lineone.net wrote:

 I've just rebuilt SG/FG with MSVC10 using the up-to-date code with the same
 result: FG quits immediately

As stated in the bug report, since I can't run Windows, I need one of the 
people who runs next, and had a development / debug environment, to walk 
through early startup and provide some backtraces for this, since Mac  Linux 
are working as expected.

(I can build Windows in a VM, but I can't run it there)

Given how early it must be quitting, I imagine this would take no more than 
5-10 minutes of step pig through with the debugger in fg_init.cxx and main.cxx.

Regards,
James

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-10 Thread Alan Teeder
I have just made a successful build and compile with MSVC10, Windows 7.  I 
don´t see any new warning messages in the log either.

Oh well. ;(


Alan




-Original Message- 
From: James Turner
Sent: Sunday, February 10, 2013 11:11 AM
To: FlightGear developers discussions
Subject: Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and 
older quits


On 9 Feb 2013, at 20:39, Vivian Meazza vivian.mea...@lineone.net wrote:

 I've just rebuilt SG/FG with MSVC10 using the up-to-date code with the 
 same
 result: FG quits immediately

As stated in the bug report, since I can't run Windows, I need one of the 
people who runs next, and had a development / debug environment, to walk 
through early startup and provide some backtraces for this, since Mac  
Linux are working as expected.

(I can build Windows in a VM, but I can't run it there)

Given how early it must be quitting, I imagine this would take no more than 
5-10 minutes of step pig through with the debugger in fg_init.cxx and 
main.cxx.

Regards,
James

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-10 Thread James Turner

On 10 Feb 2013, at 11:50, Alan Teeder ajtee...@v-twin.org.uk wrote:

 I have just made a successful build and compile with MSVC10, Windows 7.  I 
 don´t see any new warning messages in the log either.
 
 Oh well. ;(

Could you try a debug build and some stepping through the code like I 
suggested? If you're already happy using MSVC it should be pretty easy to 
narrow things down!

James


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-10 Thread Geoff McLane
Hi James, 

Ok, found the abort almost immediately ;=))

in options.cxx, void Options::init(...)

Simple -
 std::string homedir(getenv(HOME));
is a NO NO...

In windows getenv(HOME) will yield a null = (0),
and it is a logic error to do -
 std::string homedir(0);

Changed that to -
 std::string homedir;
 char *hd = getenv(HOME);
 if (hd)
homedir = hd;

And I am up and flying...

This does mean no homedir.fgfsrc is ever 
processed in windows, but will take longer to 
sort that out...

Now get console output -
Enabling ATI viewport hack
KMA20 audio panel initialized
KI266 dme indicator #0 initialized
loading scenario 'nimitz_demo'
Could not find at least one of the following objects for animation:
'terminal_2'
Could not find at least one of the following objects for animation:
'terminal_2'
Electrical system initialized
KAP140 power up
Error in ground network. Failed to find first waypoint: 0 at KSMF

And the c172p starts and FLIES ;=

Regards,
Geoff.



--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-10 Thread James Turner

On 10 Feb 2013, at 12:37, Geoff McLane ubu...@geoffair.info wrote:

 Ok, found the abort almost immediately ;=))

That's what I hoped :)

 
 in options.cxx, void Options::init(...)
 
 Simple -
 std::string homedir(getenv(HOME));
 is a NO NO...
 
 In windows getenv(HOME) will yield a null = (0),
 and it is a logic error to do -
 std::string homedir(0);
 
 Changed that to -
 std::string homedir;
 char *hd = getenv(HOME);
 if (hd)
homedir = hd;
 
 And I am up and flying...

Excellent. But my intention was to use %APPDATA% for this on Windows i think? 
Or maybe this is a vestigial remnant of cygwin support on Windows? Hmmm.

I'm in the middle of some demolition work at home, once that's done I'll push a 
proper fix, thanks for looking into this.

James

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-10 Thread Geoff McLane
On Sun, 2013-02-10 at 12:54 +, James Turner wrote:
...
 Excellent. But my intention was to use %APPDATA% 
 for this on Windows i think? 

Hi James, 

And to follow on debugging a bit I do see that 
it does check for a file -
c:/Users/name/AppData/Roaming/flightgear.org/fgfsrc
which is using %APPDATA%, so that seems ok...

And also checks for a file -
--fg-root|FG_ROOT/system.fgfs.COMPUTERNAME
AND
--fg-root|FG_ROOT/system.fgfs
if they exist...

AND also loads the file :-
c:/Users/name/AppData/Roaming/flightgear.org/\
autosave_2_11.xml

So maybe all bases are already covered ;=))

Regards,
Geoff.



--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-10 Thread Vivian Meazza
Heiko

 -Original Message-
 From: Vivian Meazza [mailto:vivian.mea...@lineone.net]
 Sent: 09 February 2013 20:40
 To: 'FlightGear developers discussions'
 Subject: RE: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and
older
 quits
 
 Heiko
 
  Today I wanted to test all the new things I missed in the last couple of
 weeks.
  So updated FGdata, and downloaded the last win32 build on the Jenkins
  build server.
 
  To my surprise, fgfs.exe quits when pressing the launch button in FGRun.
 
  The console only shows following strange error message as I haven't
  used no aircraft with something like that:
 
 
  Failed to create alias at
  /controls[0]/refuelling[0]/refuelling-drogues-pos-
  norm
  [0]. Source /sim[0]/multiplay[0]/generic[0]/float[2] is already
  aliasing another property.
  Failed to set alias to
  /controls/refuelling/refuelling-drogues-pos-norm
 
 
  Setting log level to debug doesn't give anything, but setting to
  log-level bulk give me following:
 
 
  general:3:..\..\..\FlightGear\src\Main\main.cxx:311:FlightGear:
  Version unknown version
  general:3:..\..\..\FlightGear\src\Main\main.cxx:312:Built
  with Microsoft Visual C++ version 1600
 
 
  I used the latest win32 build #926, but also tried build numbers down to
 #920.
  None of them worked for me.
 
 I've just rebuilt SG/FG with MSVC10 using the up-to-date code with the
same
 result: FG quits immediately

I reset FG/SG to 23rd Jan - that compiled and ran successfully.

Vivian



--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-10 Thread Heiko Schulz
Vivian,

 I reset FG/SG to 23rd Jan - that compiled and ran successfully.

 Vivian

according to James and fred on the bug tracker, the bug has been fixed already. 
I just wait for Jenkins running again to test.

Heiko



--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-10 Thread Vivian Meazza
Heiko,

 -Original Message-
 From: Heiko Schulz [mailto:aeitsch...@yahoo.de]
 Sent: 10 February 2013 15:31
 To: FlightGear developers discussions
 Subject: Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and
older
 quits
 
 Vivian,
 
  I reset FG/SG to 23rd Jan - that compiled and ran successfully.
 
  Vivian
 
 according to James and fred on the bug tracker, the bug has been fixed
 already. I just wait for Jenkins running again to test.
 

Yup - looks good here.

Vivian



--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-10 Thread Frederic Bouvier
 De: Heiko Schulz aeitsch...@yahoo.de
 
 Vivian,
 
  I reset FG/SG to 23rd Jan - that compiled and ran successfully.
 
  Vivian
 
 according to James and fred on the bug tracker, the bug has been
 fixed already. I just wait for Jenkins running again to test.

In the meantime, you can define the HOME environment variable to a temp 
directory

Regards,
-Fred

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-09 Thread Heiko Schulz
Hi,

Today I wanted to test all the new things I missed in the last couple of weeks.
So updated FGdata, and downloaded the last win32 build on the Jenkins build 
server.

To my surprise, fgfs.exe quits when pressing the launch button in FGRun.

The console only shows following strange error message as I haven't used no 
aircraft with something like that: 


Failed to create alias at /controls[0]/refuelling[0]/refuelling-drogues-pos-norm
[0]. Source /sim[0]/multiplay[0]/generic[0]/float[2] is already aliasing another
 property.
Failed to set alias to /controls/refuelling/refuelling-drogues-pos-norm


Setting log level to debug doesn't give anything, but setting to log-level bulk 
give me following:


general:3:..\..\..\FlightGear\src\Main\main.cxx:311:FlightGear:  Version 
unknown version
general:3:..\..\..\FlightGear\src\Main\main.cxx:312:Built with Microsoft Visual 
C++ version 1600


I used the latest win32 build #926, but also tried build numbers down to #920. 
None of them worked for me.

Any idea?

Cheers
Heiko







--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-09 Thread Vivian Meazza
Heiko

 Today I wanted to test all the new things I missed in the last couple of
weeks.
 So updated FGdata, and downloaded the last win32 build on the Jenkins
 build server.
 
 To my surprise, fgfs.exe quits when pressing the launch button in FGRun.
 
 The console only shows following strange error message as I haven't used
no
 aircraft with something like that:
 
 
 Failed to create alias at
/controls[0]/refuelling[0]/refuelling-drogues-pos-
 norm
 [0]. Source /sim[0]/multiplay[0]/generic[0]/float[2] is already aliasing
another
 property.
 Failed to set alias to /controls/refuelling/refuelling-drogues-pos-norm
 
 
 Setting log level to debug doesn't give anything, but setting to log-level
bulk
 give me following:
 
 
 general:3:..\..\..\FlightGear\src\Main\main.cxx:311:FlightGear:  Version
 unknown version general:3:..\..\..\FlightGear\src\Main\main.cxx:312:Built
 with Microsoft Visual C++ version 1600
 
 
 I used the latest win32 build #926, but also tried build numbers down to
#920.
 None of them worked for me.

I've just rebuilt SG/FG with MSVC10 using the up-to-date code with the same
result: FG quits immediately

Vivian  



--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear Jenkins Build win32 #926 and older quits

2013-02-09 Thread Arnt Karlsen
On Sat, 9 Feb 2013 20:39:40 -, Vivian wrote in message 
01ce0705$9574e520$c05eaf60$@lineone.net:

 Heiko
 
  Today I wanted to test all the new things I missed in the last
  couple of weeks.
  So updated FGdata, and downloaded the last win32 build on the
  Jenkins build server.
  
  To my surprise, fgfs.exe quits when pressing the launch button in
  FGRun.

..exactly why does FGRun need FLTK 1.3 and FG FLTK 1.1???
These things may be related, I get FGRun build failures:
-- Found X11_Xft...
-- Using FLTK_LIBRARIES for fgrun:
fltk_images;fltk_forms;fltk_gl;/usr/lib/x86_64-linux-gnu/libGL.so;fltk;/usr/lib/x86_64-linux-gnu/libSM.so;/usr/lib/x86_64-linux-gnu/libICE.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libXinerama.so;/usr/lib/x86_64-linux-gnu/libXft.so
CMake Error at CMakeLists.txt:228 (message): 
FLTK 1.3 is required

..last time I tried build FG with FLTK 1.3 to keep FGRun happy, 
my FG build failed.

  The console only shows following strange error message as I haven't
  used no 
  aircraft with something like that:
  
  
  Failed to create alias
  at /controls[0]/refuelling[0]/refuelling-drogues-pos- norm
  [0]. Source /sim[0]/multiplay[0]/generic[0]/float[2] is already
  aliasing another
  property.
  Failed to set alias
  to /controls/refuelling/refuelling-drogues-pos-norm
  
  
  Setting log level to debug doesn't give anything, but setting to
  log-level bulk
  give me following:
  
  
  general:3:..\..\..\FlightGear\src\Main\main.cxx:311:FlightGear:
  Version unknown version
  general:3:..\..\..\FlightGear\src\Main\main.cxx:312:Built with
  Microsoft Visual C++ version 1600
  
  
  I used the latest win32 build #926, but also tried build numbers
  down to
 #920.
  None of them worked for me.
 
 I've just rebuilt SG/FG with MSVC10 using the up-to-date code with
 the same result: FG quits immediately
 
 Vivian  

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel