[Flightgear-devel] msvc6 - new year update

2002-01-05 Thread Geoff McLane


a 'appy new yrrr ta ya all ...

I am overjoyed my Yasim c172 took off with ease. I
was surprised that so much 'leveling' was required. I have
flown 152, 172  and 182, and none seemed so 'skitish' as
I remember ...

Just an observation - I now jump for Crtl+H to stabalize
the heading as I gather feet ... great stuff ... thanks ya :-)))

Have not had any success with JSBsim. :-( My engine RPM
stays 'stuck' at ZERO, despite multiple Page-Ups,
even multiple shift+1, space, or shift+~ space, 
it stays stuck at none!!! HELP? :-(

I also had to add to joystick.xml a
js n=1
!-- same mappings as js 0 --
/js
to get my joystick to work. Maybe it is 'fiddling'
with the c172's alerions giving me this hard time ...
I have yet to adjust the 'dead' value to see if that
help.

Have not had time to try other sim's yet.

If any one is interested I did some work with
a msvc6 'windows' version of js_demo I call js_demow.
It uses the PLIB js.h, with a minor modification to
return the actual number of axes rather than 6 all
the time.

It should show the buttons and axes found, and
paint a red dot when you touch a button, or a
new value if you move an axes. It reads in a
global (js) property tree from joystick.xml,
and labels the button and axes assigned therein.

I wanted to be able to either 'drag' and 'drop',
of combo box assign, or re-assign a button or
axes, and write the desired XML file, but it is
always a question of time ...

Concerning my current environment, I did a plib,
simgear, flightgear and fgfsbase cvs update. Actually
have been doing it almost each few days ...

But in building each of plib, simgear,
metakit and flightgear, I ensured 
Debug-Mutithreaded DLL was selected in Project
Setting, Win32 Debug, C/C++ tab, Code Generation.
This uses the MSVCRT.DLL for all of the system
funtions.

Note this is not always the currect default, and in
the case of PLIB you must select and change each
library individually, but it is not a big item.

I remember someone mentioned there was a
warning when building plib and a few of us
quickly answered that this was a 'good' warning.

But now you get an ERROR later in the SG/FG
build of a 'missing' js.h. I preferred the 'warning',
rather than this hard error, but its ok ...

There were still some things to change in the
FlightGear.dsw/dsp set, but it seems some of these
do filter through ... somehow a js.lib got in there!!!

Things like the fact plib uses an _d for debug, and
simgear is in ..\simgear\debug have been mentioned before.
They need to be changed in the am2dsp script to make
them permanent ...

Hope to get in more 'flying' time soon ... still to increase
the RAM in this machine. At present FG 'jumps' forward after
spending up to a few seconds with my HDD light almost
constantly on ...

Geoff.

PS: Over Christmas I got given Fly! II, but it
seems 'very sticky' in my system - like it
takes 'seconds' to move the cursor ... Must
visit their site and see if anything there helps ...





___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] msvc6 - new year update

2002-01-05 Thread Geoff McLane


  Have not had any success with JSBsim. :-( My engine RPM
  stays 'stuck' at ZERO, despite multiple Page-Ups,
 Did you start the engine (click twice on the panel to activate both
 magnetos and then use the middle mouse button to activate the starter)?

Ok, will try that and advise ... may be a few days ...

  It uses the PLIB js.h, with a minor modification to
 Great. Could you post the details to the PLIB-devel list?

Must find the email to that ...
 
  build of a 'missing' js.h. I preferred the 'warning',
 can end up in a library) which shouln'd change to an error.

Sorry I was not clear on this ...

In msvc6 PLIB there are two 'parts' to a build of a library. The
first part is to compile any cxx stuff into a 'library' of code,
and the 2nd part is to COPY that library (if there is one!)
AND the appropriate header file, exposing the library, to
the PLIB folder.

The warning was that Studio could not make js.lib, no cxx
as you pointed out, but as instructed it would still copy js.h
to the appropriate place. Now there is no 'warning' so no
'copy' of the header is done. That's all in the PLIB build.

Then the FG build expects js.h to be in PLIB. By removing
the above PLIB warning you now get an ERROR in building
FG since it can not find js.h anywhere on known paths.

It takes only seconds to flip to PLIB and do a copy src\js\js.h,
but as stated I preferred the PLIB 'warning' with copy than
the FG 'error' and subsequent manual copy ...

  the RAM in this machine. At present FG 'jumps' forward after
 That's a known problem with MSVC FGFS builds. It shuold be much better

Absolutely. That is my point about ensuring ALL plib, simgear, metakit
and flightgear were compiled using the MultiThreaded DLL. I
want to either (a) look again at porting the current unix thread stuff
to windows thread/mutexes, or (b) at least pass some things off to
a thread(s) created for that purpose alone, or ...

Rgds,

Geoff.



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] msvc6 - new year update

2002-01-05 Thread Wolfram Kuss

Geoff, are you sure you have the newest PLIB from CVS?

Bye bye,
Wolfram.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel