I recently added a new class to JSBSim (in the filters subdirectory)
called FGCondition. I checked the flightgear names beforehand and found an
FGConditional, but I missed the FGCondition name. Now I am getting a link
error when building FlightGear with the new JSBSim stuff. I think I may
need to s
On Mon, 20 Jan 2003 07:37:54 -0600
"Jon Berndt" <[EMAIL PROTECTED]> wrote:
> I recently added a new class to JSBSim (in the filters subdirectory)
> called FGCondition. I checked the flightgear names beforehand and found an
> FGConditional, but I missed the FGCondition name. Now I am getting a link
On Tue, 21 Jan 2003 09:07:57 +1100
Bernie Bright <[EMAIL PROTECTED]> wrote:
On Mon, 20 Jan 2003 07:37:54 -0600
"Jon Berndt" <[EMAIL PROTECTED]> wrote:
I remember having this conversation before. If you have
the FlightGear source
then check the YASim fdm code. Its all in namespace
yasim. Bas
On Mon, 20 Jan 2003 16:14:54 -0600
"Jon S Berndt" <[EMAIL PROTECTED]> wrote:
> On Tue, 21 Jan 2003 09:07:57 +1100
> Bernie Bright <[EMAIL PROTECTED]> wrote:
> >On Mon, 20 Jan 2003 07:37:54 -0600
> >"Jon Berndt" <[EMAIL PROTECTED]> wrote:
> >
> >I remember having this conversation before. If you
> Just added "namespace jsbsim { ... }" to latest CVS JSBSim and got a
clean
> compile and link. I'm not in a position to test at the moment. BTW
> FGConditon was missing from filtersjb/Makefile.am.
Ah, yes. I need to go in and change that. Thanks. I'll probably recommend
that this current versi
Jon Berndt writes:
> Ah, yes. I need to go in and change that. Thanks. I'll probably recommend
> that this current version of JSBSim (0.9.4) gets moved into FlightGear CVS
> very soon.
>
> Question: Did you add namespace usage to ALL JSBSim files? I tried it with
> just FGCondition (to mini
> That sounds like a very good idea, especially since JSBSim tends to
> use the FG* prefix in its classes, just like FlightGear does. Why
> don't we update JSBSim in FlightGear as soon as the whole thing is
> moved into the jsbsim Namespace and tested.
I got Bernie's code (Thanks Bernie). What is
I copied over Bernie's changes for namespaces, but have not been able to
get the code to compile with FlightGear. The files JSBSim.cxx|hxx need to
be aware of the new namespace scoping of JSBSim, and I can't seem to get
it to work. Suggestions?
Jon
smime.p7s
Description: application/pkcs7-signa
On 1/22/03 at 7:12 AM Jon Berndt wrote:
>I copied over Bernie's changes for namespaces, but have not been able to
>get the code to compile with FlightGear. The files JSBSim.cxx|hxx need to
>be aware of the new namespace scoping of JSBSim, and I can't seem to get
>it to work. Suggestions?
Wouldn't
> Wouldn't something like this work?
>
> Either:
>
> using namespace jsbsim
>
> or
>
> using jsbsim::FGFDMExec
> etc...
>
> at the top of the files
>
> or
>
> fdmex = new jsbsim::FGFDMExec
> etc...
>
> everytime its needed.
>
> Cheers - Dave
You would expect it to, wouldn't you. I added "using na
On Wed, 22 Jan 2003 07:50:55 -0600
"Jon Berndt" <[EMAIL PROTECTED]> wrote:
> > Wouldn't something like this work?
> >
> > Either:
> >
> > using namespace jsbsim
> >
> > or
> >
> > using jsbsim::FGFDMExec
> > etc...
> >
> > at the top of the files
> >
> > or
> >
> > fdmex = new jsbsim::FGFDMExec
>
On Thu, 23 Jan 2003 07:53:59 +1100
Bernie Bright <[EMAIL PROTECTED]> wrote:
Forward declarations must be in a namespace:
namespace JSBSim {
class FGState;
class FGAtmosphere;
class FGFCS;
class FGPropulsion;
class FGMassBalance;
class FGAerodynamics;
class FGInertial;
class FGAircraft;
class FG
12 matches
Mail list logo