Re: [Flightgear-devel] FlightGear starting time

2006-11-06 Thread Frederic Bouvier
Quoting Thomas Biwer :

 Indeed, the problem seems to be in some plib code, since he points me
 towards the file ssgloadac.cxx , line 898 which says: loader_fd =
 fopen ( filename, ra ) ;

You need a newer plib ( svn or the proposed pre-1.8.5 tarball ). This line is
faulty and need to be changed to :
   loader_fd = fopen ( filename, r ) ;

( 'a' removed in ra )

-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] FlightGear starting time

2006-11-05 Thread Vivian Meazza
Olaf Flebbe

 
 
 However, FG-OSG compiled using Olaf's stuff (for which we must be most
  grateful) is both significantly slower to load and run than FG-Plib
 compiled
  with MSVC8 here.
 
 You actually see a slowdown on loading ?
 

Yes, I haven't timed it exactly, but I would estimate 15=25% longer -
certainly noticeably. 

Vivian 


-
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] FlightGear starting time

2006-11-05 Thread Thomas Biwer
2006/11/4, Olaf Flebbe [EMAIL PROTECTED]:


 Could you please try to run it in the debugger and give the
 traceback/Call Trace? Where does it crash exactly.

 Maybe you have to add run time options: Right Click on  Flightgear in
 the Solution Explorer and  Choose Properties Configuration
 Properties/Debugging (for instance --fg-root=. )


Good morning,

I just started the debugger and here's what he tells me in the Call
Stack-flag :


FlightGear.exe!_crt_debugger_hook(int _Reserved=4194304)  Line 65   
C
FlightGear.exe!_invalid_parameter(const wchar_t *
pszExpression=0x, const wchar_t * pszFunction=0x,
const wchar_t * pszFile=0x, unsigned int nLine=0, unsigned int
pReserved=0)  Line 86 + 0x7 bytes   C++
FlightGear.exe!_openfile(const char * filename=0x0012f120, const
char * mode=0x, int shflag=64, _iobuf * str=0x00a25448)  Line
248 + 0x19 bytesC
FlightGear.exe!_fsopen(const char * file=0x00a25448, const char *
mode=0x0097a36c, int shflag=64)  Line 85 + 0xb bytesC
FlightGear.exe!fopen(const char * file=0x0012f120, const char *
mode=0x0097a36c)  Line 124 + 0xf bytes  C
   FlightGear.exe!ssgLoadAC(const char * fname=0x10a81b00, const
ssgLoaderOptions * options=0x)  Line 898 + 0x3d bytes   C++
FlightGear.exe!ssgLoadAC3D(const char * fname=0x10a81b00, const
ssgLoaderOptions * options=0x)  Line 863 + 0xf bytesC++
FlightGear.exe!ssgLoad(const char * fname=0x10a81b00, const
ssgLoaderOptions * options=0x)  Line 227C++
FlightGear.exe!sgLoad3DModel()  + 0x4fb bytes   
10a81b88()  
FlightGear.exe!free(void * pBlock=0x10a81b08)  Line 110 C
FlightGear.exe!SGPropertyNode::getNode()  + 0x150 bytes 
74697747()  

Indeed, the problem seems to be in some plib code, since he points me
towards the file ssgloadac.cxx , line 898 which says: loader_fd =
fopen ( filename, ra ) ;

To be honest, I dont have a clue what to do, it's the first time I use
debugging mode and I am really not that sure what to do with all that
information he gives me. If you need some further information just let
me know, it's too much to list it all in here.
Well maybe this could be important, too: here's what he tells me in
the Autos-flag about loader_fd:

-   loader_fd   0x {_ptr=??? _cnt=??? _base=??? ...}
_iobuf *
_ptrCXX0030: Error: expression cannot be evaluated  
_cntCXX0030: Error: expression cannot be evaluated  
_base   CXX0030: Error: expression cannot be evaluated  
_flag   CXX0030: Error: expression cannot be evaluated  
_file   CXX0030: Error: expression cannot be evaluated  
_charbufCXX0030: Error: expression cannot be evaluated  
_bufsiz CXX0030: Error: expression cannot be evaluated  
_tmpfname   CXX0030: Error: expression cannot be evaluated  


He also says something like no symbols loaded for a few dll-files
like ntdll.dll, version.dll, kernel32.dll and so on...
Plus, Binary was not build with debugging information for
OpenAL32.dll, nvoglnt.dll and nvwrses.dll.

I would be very appreciative for any help about this.

Best,

Thomas

-
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] FlightGear starting time

2006-11-04 Thread Olaf Flebbe
Hi,
  
 i noticed that the version of flightgear i built from scratch using 
 cygwin takes significantly more time to start up (about 4-5 
 minutes) than the one i installed using the exe-file from 
 flightgear.org http://flightgear.org (about 1-2 minutes). is there 
 any specific reason for this and are there any ways to accelerate the 
 start of flightgear somehow?
cygwin I/O is dead slow. Thats the price you pay for emulating a UNIX 
style I/O system. You can accelerate by using MSVC8, for instance. It's 
free, too.

Olaf

-
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] FlightGear starting time

2006-11-04 Thread Thomas Biwer
yeah thanks for the kind help, 

i compiled it using MSVC8, i did follow your instructions, Olaf, taken from your homepage.

The problem is: FG crashes every time I try to start it. By running the --log-level=debugoptionI found out thatit quits at the point of initializing scenery subsystem giving out a standard MS Windowserror message FlightGear has experienced and problem and therefore had to be closed.


What could be the reason for it?
I compiled FG 0.9.10, using the dependencies precompiled from Olaf's website. I applied the patch given for the pLib files and SimGear compiled and linked well and quite easy without further problems.
I then had some problems while linking FlightGear with a bunch of errormessages but I finally managed to fix them by doing soem changes in the properties of MSVC8 (I m really new to this IDE). Is there a common problem when having installed FG with Cygwin and FG with MSVC on the same machine? Because I read something about this somewhere in the Net, saying that the openal .dll-fileswould cause problems in that case


Any hints or thoughts about this? 
Thank you for your help in here, it's really nice to have such decent people caring about you and helping you out!

Best, 

Thomas
2006/11/4, Olaf Flebbe [EMAIL PROTECTED]:
Hi, i noticed that the version of flightgear i built from scratch using cygwin takes significantly more time to start up (about 4-5
 minutes) than the one i installed using the exe-file from flightgear.org http://flightgear.org (about 1-2 minutes). is there
 any specific reason for this and are there any ways to accelerate the start of flightgear somehow?cygwin I/O is dead slow. Thats the price you pay for emulating a UNIXstyle I/O system. You can accelerate by using MSVC8, for instance. It's
free, too.Olaf-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
-
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] FlightGear starting time

2006-11-04 Thread Olaf Flebbe
Hi,
  
 i compiled it using MSVC8, i did follow your instructions, Olaf, taken 
 from your homepage.
  
 The problem is: FG crashes every time I try to start it. By running 
 the --log-level=debug option I found out that it quits at the point of 
 initializing scenery subsystem giving out a standard MS 
 Windows error message FlightGear has experienced and problem and 
 therefore had to be closed.

Could you please try to run it in the debugger and give the 
traceback/Call Trace? Where does it crash exactly.

Maybe you have to add run time options: Right Click on  Flightgear in 
the Solution Explorer and  Choose Properties Configuration 
Properties/Debugging (for instance --fg-root=. )
  
 What could be the reason for it?
 I compiled FG 0.9.10, using the dependencies precompiled from Olaf's 
 website. I applied the patch given for the pLib files and SimGear 
 compiled and linked well and quite easy without further problems.
 I then had some problems while linking FlightGear with a bunch of 
 errormessages but I finally managed to fix them by doing soem changes 
 in the properties of MSVC8 (I m really new to this IDE). Is there a 
 common problem when having installed FG with Cygwin and FG with MSVC 
 on the same machine?
In the case you leave the file-trees seperated, no problem. Please do 
not try to mix cygwin libs with msvc compiled libs. What kind of 
errormessages did you got?

 Because I read something about this somewhere in the Net, saying that 
 the openal .dll-files would cause problems in that case
  
Can you double check that you are using the OpenAL redistributable from 
Creative? You may use the dependency walker 
http://www.dependencywalker.com/.


Olaf

-
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] FlightGear starting time

2006-11-04 Thread Maik Justus
Hi Thomas,

I used cygwin to compile fg-cvs, meanwhile I used MSVC as editor while 
compiling with cygwin. Then I found Olafs howto on the wiki and compiled 
with MSVC without deinstalling cygwin. For openal I used the al.zip 
archive from Olaf (after failing to use the files from the SDK from 
http://www.openal.org/downloads.html. Maybe the installing of the SDK 
fixed that bug before I was able to notice?) Did you try to compile the 
fg9.10 release code or the fg9.10 cvs pre-osg-plib branch? If you tried 
to compile the release code, you maybe failed by not having compatible 
simgear/plib?

Maik

Thomas Biwer schrieb:
 i compiled it using MSVC8, i did follow your instructions, Olaf, taken 
 from your homepage.
 ... 
 Is there a common problem when having installed FG with Cygwin and FG 
 with MSVC on the same machine? Because I read something about this 
 somewhere in the Net, saying that the openal .dll-files would cause 
 problems in that case


-
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] FlightGear starting time

2006-11-04 Thread Vivian Meazza
Olaf Flebbe wrote

 Hi,
 
  i noticed that the version of flightgear i built from scratch using
  cygwin takes significantly more time to start up (about 4-5
  minutes) than the one i installed using the exe-file from
  flightgear.org http://flightgear.org (about 1-2 minutes). is there
  any specific reason for this and are there any ways to accelerate the
  start of flightgear somehow?
 cygwin I/O is dead slow. Thats the price you pay for emulating a UNIX
 style I/O system. You can accelerate by using MSVC8, for instance. It's
 free, too.
 

The I/O of Cygwin was improved considerably about a year ago, but was still
a little slower than with an executable produced with MSVC8. It also ran a
little slower; as is pointed out above that's the price you pay for
emulating Unix.

However, FG-OSG compiled using Olaf's stuff (for which we must be most
grateful) is both significantly slower to load and run than FG-Plib compiled
with MSVC8 here. 

Vivian




-
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] FlightGear starting time

2006-11-04 Thread Olaf Flebbe

However, FG-OSG compiled using Olaf's stuff (for which we must be most
 grateful) is both significantly slower to load and run than FG-Plib compiled
 with MSVC8 here. 

You actually see a slowdown on loading ?

-
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] FlightGear starting time

2006-11-04 Thread Thomas Biwer
Well, I cant access to the machine I was workin on right now, so I
will be able to tell you on monday what the debugger reports.

I am using the FG0.9.10 release version , not a cvs version and also
the matching SimGear (v.0.3.10) / base package versions.

Olaf: I did use the OpenAL version offered through you on your
homepage. I ve simply downloaded your devel.zip file...

-
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] FlightGear starting time

2006-11-04 Thread Maik Justus
Hi Olaf,
Olaf Flebbe schrieb:
 However, FG-OSG compiled using Olaf's stuff (for which we must be most
   
 grateful) is both significantly slower to load and run than FG-Plib compiled
 with MSVC8 here. 
 

 You actually see a slowdown on loading ?
   

Didn't notice up to now (but I have different starting times from run to 
run (disk cache? free memory? don't know why), so I would have to do a 
huge number of tests to get significant statistic).

Maik

-
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] FlightGear starting time

2006-11-01 Thread Thomas Biwer
hey there, 

i noticed that the version of flightgear i built from scratch using cygwin takes significantly more time to start up (about 4-5 minutes)than the one i installed using the exe-file from 
flightgear.org (about 1-2 minutes). is there any specific reason for this and are thereany ways to accelerate the start of flightgear somehow?

i m using flightgear stable version 0.9.10 on windows xp and as before mentioned cygwin tocompile. machine: pentium 4, 1 gb ram.

thanks, 

best
thomas
-
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] FlightGear starting time

2006-11-01 Thread Curtis Olson
I think to answer quickly, the version we distribute in binary form is built with MSVC and you are building with cygwin. I think it has been reported in the past that cygwin has some serious IO efficiencies due to some sort of thread blocking. Apparently this isn't a priority for the cygwin team, or perhaps only FlightGear tickles this problem in cygwin??? Other's may be able to provide more detailed (or more of a correct) explanation.
Regards,Curt.On 11/1/06, Thomas Biwer [EMAIL PROTECTED] wrote:
hey there, 

i noticed that the version of flightgear i built from scratch using cygwin takes significantly more time to start up (about 4-5 minutes)than the one i installed using the exe-file from 

flightgear.org (about 1-2 minutes). is there any specific reason for this and are thereany ways to accelerate the start of flightgear somehow?

i m using flightgear stable version 0.9.10 on windows xp and as before mentioned cygwin tocompile. machine: pentium 4, 1 gb ram.

thanks, 

best
thomas

-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.nethttps://lists.sourceforge.net/lists/listinfo/flightgear-devel
-- Curtis Olson - University of Minnesota - FlightGear Projecthttp://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] FlightGear starting time

2006-11-01 Thread Maik Justus
Hi Thomas,

I recommend to use MSVC Express. It is free and Olaf Flebbe has written 
a excellent howto, linked from the flightgear wikki. He supports osg and 
the plib-branch and has precompiled libraries to minimize your effort. I 
have compiled flightgear from the scratch 2 times with cygwin and 2 
times with msvc (with olafs howto). It's like comparing night and day. 
And the performance is significant better (at least with plib, I have 
never compiled osg with cygwin). And for me as windows user I prefer the 
gui, editor and the debugger of msvc.

Best regards,
Maik

Thomas Biwer schrieb:
 hey there,
  
 i noticed that the version of flightgear i built from scratch using 
 cygwin takes significantly more time to start up (about 4-5 
 minutes) than the one i installed using the exe-file from 
 flightgear.org http://flightgear.org (about 1-2 minutes). is there 
 any specific reason for this and are there any ways to accelerate the 
 start of flightgear somehow?
  
 i m using flightgear stable version 0.9.10 on windows xp and as before 
 mentioned cygwin to compile. machine: pentium 4, 1 gb ram.
  
 thanks,
  
 best
 thomas
 

 -
 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
   


-
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