Board index FlightGear Support Tools FGRun

Fatal error while launching fgfs under Windows

FGRun is a graphical frontend to run FlightGear.

Fatal error while launching fgfs under Windows

Postby Fatima » Tue Nov 22, 2011 1:28 pm

Hello, I've installed and compiled sources of FG from Gitorious. It was successfull for the release compilation.
WHile I'm trying to launch fgfs under Windows command DOS, I get systematically a fatal error: Unrecognized flight model 'jsb', cannot init flight dynamics model.
I'm using a NVIDIA Quadro FX 570, with Intel Core 2 Duo CPU, 2.80 GHz, 1.96 Go of RAM, Windows XP Prof Version 2002, SP3.
Can you please help me because I don't understand why I get this error... ? The command DOS is for instance fgfs --aero=MC-15.

Many thanks,

Fatima
Fatima
 
Posts: 4
Joined: Tue Nov 22, 2011 1:16 pm

Re: Fatal error while launching fgfs under Windows

Postby BRT » Thu Nov 24, 2011 10:19 am

did you install V2.0 or V2.4?

:)
BRT
 
Posts: 191
Joined: Wed May 25, 2011 3:58 pm

Re: Fatal error while launching fgfs under Windows

Postby Figaro » Thu Nov 24, 2011 11:01 am

BRT, he said Gitorious.

Please post only when/where useful. I've found 4 utterly useless posts in the space of 10min.

Fatima, the only solution I can think of is to not use DOS, however I've not used DOS in a LONG time, so I may be biased.

Cheers,
User avatar
Figaro
 
Posts: 1262
Joined: Fri Feb 25, 2011 9:23 pm
Callsign: 4L-FIG
OS: Elementary 5.0 Juno

Re: Fatal error while launching fgfs under Windows

Postby Alant » Thu Nov 24, 2011 11:42 am

Try the command "fgfs" by itself. You should get the default aircraft.

You can also click on fgfs.exe and see if that runs - it should also bring up the default aircraft.

You could add something like --fg-root=C:/FlightGear/data and --fg-scenery=C:/FlightGear/Scenery (dependant on where you have dgdata and scenery installed) to your command line, and add them to system.fgfsrc file.
Alant
 
Posts: 912
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: Fatal error while launching fgfs under Windows

Postby AndersG » Thu Nov 24, 2011 11:47 am

Fatima wrote in Tue Nov 22, 2011 1:28 pm:WHile I'm trying to launch fgfs under Windows command DOS, I get systematically a fatal error: Unrecognized flight model 'jsb', cannot init flight dynamics.
...
The command DOS is for instance fgfs --aero=MC-15


Hi,

Two things to check:
1. The --aero argument is rarely used. To load a full aircraft you use --aircraft=....
Are you sure you should be using --aero? (I've never used it so I don't know if it might be broken)
2. You can build FG with only a subset of the flight models, so, however unlikely, your build might be without JSBSim built in. If any of the standard JSBSim aircraft (e.g. c172p) load this is not the case.

/Anders
Last edited by AndersG on Thu Nov 24, 2011 9:18 pm, edited 1 time in total.
Callsign: SE-AG
Aircraft (uhm...): Submarine Scout, Zeppelin NT, ZF Navy free balloon, Nordstern, Hindenburg, Short Empire flying-boat, ZNP-K, North Sea class, MTB T21 class, U.S.S. Monitor, MFI-9B, Type UB I submarine, Gokstad ship, Renault FT.
AndersG
 
Posts: 2441
Joined: Wed Nov 29, 2006 9:20 am
Location: Göteborg, Sweden
Callsign: SE-AG
OS: Debian GNU Linux

Re: Fatal error while launching fgfs under Windows

Postby BRT » Thu Nov 24, 2011 4:11 pm

well gitorius is a download site too :-P
BRT
 
Posts: 191
Joined: Wed May 25, 2011 3:58 pm

Re: Fatal error while launching fgfs under Windows

Postby Fatima » Fri Nov 25, 2011 7:30 am

Many thanks for all your help.
So, if I try to launch directly fgfs.exe from C:\FGdev\flightgear\projects\VC90\Win32\Release, I get the following message in a dos windows:
Base package check failed:
Version [none] found at: ..\data
Version 2.5.0 is required.
PLease upgrade/downgrade base package and set the path to your fgdata with --fg-root=path_to_your_fgdata
Hit a key to continue


Cheers,
Fatima
Fatima
 
Posts: 4
Joined: Tue Nov 22, 2011 1:16 pm

Re: Fatal error while launching fgfs under Windows

Postby Fatima » Fri Nov 25, 2011 7:47 am

In the DOS command, if I write : fgfs --fg-root=C:\FGdev\data --aircraft=MC-15
The FlightGear MC-15 CriCri loads but I get a fatal error during the initializing subsystems' phase . In the DOS command, I have: Fatal error: Unrecognized flight model 'yasim', cannot init flight dynamics model.

If I set the Dos command by default, I mean, fgfs --fg-root=C:\FGdev\data, the C172p aircraft is loading but I get the Fatal error: Unrecognized flight model 'jsb', cannot init flight dynamics model.
Fatima
 
Posts: 4
Joined: Tue Nov 22, 2011 1:16 pm

Re: Fatal error while launching fgfs under Windows

Postby AndersG » Fri Nov 25, 2011 7:19 pm

Fatima wrote in Fri Nov 25, 2011 7:47 am:In the DOS command, if I write : fgfs --fg-root=C:\FGdev\data --aircraft=MC-15
The FlightGear MC-15 CriCri loads but I get a fatal error during the initializing subsystems' phase . In the DOS command, I have: Fatal error: Unrecognized flight model 'yasim', cannot init flight dynamics model.

If I set the Dos command by default, I mean, fgfs --fg-root=C:\FGdev\data, the C172p aircraft is loading but I get the Fatal error: Unrecognized flight model 'jsb', cannot init flight dynamics model.


It looks like your build is indeed flawed and lacking the FDMs. Try regenerating the build files for FG with cmake and rebuild it from scratch.

/Anders
Callsign: SE-AG
Aircraft (uhm...): Submarine Scout, Zeppelin NT, ZF Navy free balloon, Nordstern, Hindenburg, Short Empire flying-boat, ZNP-K, North Sea class, MTB T21 class, U.S.S. Monitor, MFI-9B, Type UB I submarine, Gokstad ship, Renault FT.
AndersG
 
Posts: 2441
Joined: Wed Nov 29, 2006 9:20 am
Location: Göteborg, Sweden
Callsign: SE-AG
OS: Debian GNU Linux

Re: Fatal error while launching fgfs under Windows

Postby Fatima » Tue Nov 29, 2011 1:17 pm

Hello Anders,

Many thanks for your help.
It's better now but the FlightGear is blocked to the step of "loading scenery" for all kind of aircrafts.
Could you please help me?
You'll find here https://docs.google.com/document/d/1Sw7 ... X8KdM/edit a screenshot of the program & the command DOS.

Cheers,
Fatima
Fatima
 
Posts: 4
Joined: Tue Nov 22, 2011 1:16 pm


Return to FGRun

Who is online

Users browsing this forum: No registered users and 2 guests