Board index FlightGear Support osgEarth

Initial FlightGear / OsgEarth integration

osgEarth renders the terrain scene by building the textured geometry at runtime from raw source imagery and elevation data. An experimental FlightGear integration is currently available.

Re: Initial FlightGear / OsgEarth integration

Postby volneyrock » Sun Jan 05, 2014 10:40 pm

/mnt/sda2/data2.12/Scenery/Terrain/OsgEarth/ArcGis.stg: Failed to load EARTH '/mnt/sda2/data2.12/Scenery/Terrain/OsgEarth/EarthFiles/ArcGis.earth'
[osgEarth]* [CacheFactory] Failed to load cache plugin for type "filesystem"

Anybody can help me?

Slackware 14 64bits
volneyrock
 
Posts: 11
Joined: Sun Jan 05, 2014 9:47 pm

Re: Initial FlightGear / OsgEarth integration

Postby Hooray » Sun Jan 05, 2014 11:12 pm

Hi & welcome,

it cannot find the caching plugin, which is probably because of something mentioned a few pages back, see :http://forum.flightgear.org/viewtopic.php?f=6&t=21351&start=30#p194498
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11888
Joined: Tue Mar 25, 2008 8:40 am

Re: Initial FlightGear / OsgEarth integration

Postby volneyrock » Sun Jan 05, 2014 11:59 pm

This error occurs when I enable osgEarth, not at compile time.

Sorry for my bad english.
volneyrock
 
Posts: 11
Joined: Sun Jan 05, 2014 9:47 pm

Re: Initial FlightGear / OsgEarth integration

Postby ludomotico » Mon Jan 06, 2014 12:15 am

Did you update the files in fgdata? There are new files in FGROOT/Scenery and some extra configuration files. See this post: viewtopic.php?f=6&t=21351&p=194788#p194788
User avatar
ludomotico
 
Posts: 1119
Joined: Tue Apr 24, 2012 1:01 pm
Version: nightly
OS: Windows 10

Re: Initial FlightGear / OsgEarth integration

Postby volneyrock » Mon Jan 06, 2014 12:31 am

I applied the patch minimum, but I'll download the entire folder at night, maybe that's the problem.
Thanks for the help.
volneyrock
 
Posts: 11
Joined: Sun Jan 05, 2014 9:47 pm

Re: Initial FlightGear / OsgEarth integration

Postby Hooray » Mon Jan 06, 2014 12:57 am

read my posting again, the same thing happened to me (and others, including ludomotico) and we were able to solve it as described - it does happen at runtime, but it's due to compilation settings - thus, you need to override LD_LIBRARY_PATH accordingly. Trust me, been there and done it - in fact, I was the first person to experience this issue and poweroftwo helped me troubleshoot this back then.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11888
Joined: Tue Mar 25, 2008 8:40 am

Re: Initial FlightGear / OsgEarth integration

Postby volneyrock » Mon Jan 06, 2014 1:09 am

Can you tell me how to do this?
I'm a little lost, do not speak English very well.
Can you show me what is the command?

Thank You.
volneyrock
 
Posts: 11
Joined: Sun Jan 05, 2014 9:47 pm

Re: Initial FlightGear / OsgEarth integration

Postby volneyrock » Mon Jan 06, 2014 3:07 pm

I tried this but it did not work:

env LD_LIBRARY_PATH=/usr/local/lib64 fgfs --fg-root=/mnt/sda2/data2.12/ --airport=LERS --aircraft=ufo
volneyrock
 
Posts: 11
Joined: Sun Jan 05, 2014 9:47 pm

Re: Initial FlightGear / OsgEarth integration

Postby saiarcot895 » Mon Jan 06, 2014 3:15 pm

Try it without the env at the beginning.
Saikrishna Arcot

My FlightGear PPAs: FlightGear Stable, FlightGear Development (Edge)
saiarcot895
 
Posts: 326
Joined: Sat Feb 02, 2013 4:26 pm
Callsign: flyhigh
Version: 2019.2.0
OS: Ubuntu 19.04

Re: Initial FlightGear / OsgEarth integration

Postby ludomotico » Mon Jan 06, 2014 3:37 pm

LERS? Really? This is my home airport!

I don't think this is going to be solved with a LD_LIBRARY_PATH. If I understood correctly, you can run the simulator and the error only appears after you activate osgEarth. In my opinion, this means that either your fgdata has some configuration file missing, or your osgEarth library was compiled without filesystem support. Try to build again osgEarth (including the cmake part!) and check for any error messages.
User avatar
ludomotico
 
Posts: 1119
Joined: Tue Apr 24, 2012 1:01 pm
Version: nightly
OS: Windows 10

Re: Initial FlightGear / OsgEarth integration

Postby volneyrock » Mon Jan 06, 2014 3:38 pm

Still did not work, the scenery of the TerraSync works normally active when the error occurs osgEarth scenery and not charging.
volneyrock
 
Posts: 11
Joined: Sun Jan 05, 2014 9:47 pm

Re: Initial FlightGear / OsgEarth integration

Postby volneyrock » Mon Jan 06, 2014 3:41 pm

ludomotico , I'm try download fgdata folder again.

Thanks.
volneyrock
 
Posts: 11
Joined: Sun Jan 05, 2014 9:47 pm

Re: Initial FlightGear / OsgEarth integration

Postby volneyrock » Mon Jan 06, 2014 4:52 pm

The fgdata 2.99 folder is very large, I think I'll give up: (
volneyrock
 
Posts: 11
Joined: Sun Jan 05, 2014 9:47 pm

Re: Initial FlightGear / OsgEarth integration

Postby poweroftwo » Mon Jan 06, 2014 5:03 pm

volneyrock,

If you have a working version of fgdata, you might try to patch your current fgdata with this small download that includes all necessary osgEarth files.

https://docs.google.com/file/d/0B_-l3k5 ... NNTTg/edit
poweroftwo
 
Posts: 100
Joined: Tue Mar 05, 2013 3:35 am
Location: USA - Alabama

Re: Initial FlightGear / OsgEarth integration

Postby volneyrock » Mon Jan 06, 2014 6:52 pm

I've done that, my fgdata was 2.12, is that the problem is this?
volneyrock
 
Posts: 11
Joined: Sun Jan 05, 2014 9:47 pm

PreviousNext

Return to osgEarth

Who is online

Users browsing this forum: No registered users and 0 guests