Although SimGear is now building under MSVC (thanks).
MSVC also does not like having constants defined in a class (net_fdm.hxx and raw_ctrls.hxx).
static const int FG_MAX_ENGINES = 4;
static const int FG_MAX_WHEELS = 3;
static const int FG_MAX_TANKS = 2;
When I used the recommended, and I apologize for not remembering by whom, change to
enum {FG_MAX_TANKS = 2,
FG_MAX_WHEELS = 3,
FG_MAX_ENGINES = 4,
};
it compiles, links, and runs just fine.
Thanks!
Jonathan Polley
Flying Again!
- RE: [Flightgear-devel] MSVC Still not Building Jonathan Polley
- RE: [Flightgear-devel] MSVC Still not Building Jon Berndt
- RE: [Flightgear-devel] MSVC Still not Building Curtis L. Olson
- RE: [Flightgear-devel] MSVC Still not Building Norman Vine
- Re: [Flightgear-devel] MSVC Still not Building Bernie Bright
