Building FlightGear with osgEarth Integration: Difference between revisions
(http://forum.flightgear.org/viewtopic.php?f=81&p=276886#p276886) |
(→Status) |
||
Line 62: | Line 62: | ||
}} | }} | ||
== Background == | |||
{{FGCquote | |||
|1= 3.4 is required, based on looking at this: https://gitlab.com/poweroftwo/flightgear-osgearth/commits/OsgEarth-FG3.4-Kdis | |||
However, most SG/FG related changes that would conflict with a merge are relatively trivial, i.e. could be resolved by manual edits pretty easily - I don't think that there's lots of scenery related code that got updated recently, i.e. anything affecting the osgEarth patch - simply because FG/osgEarth overrides much of the standard scenery engine anyway. | |||
I *assume* that merge conflicts should be relatively straightforward to fix up - but it would make sense to look at the latest release branch in that case. | |||
But even that, people would still need to build the whole shebang | |||
|2= {{cite web | |||
| url = http://forum.flightgear.org/viewtopic.php?p=276886#p276886 | |||
| title = <nowiki>Re: 3.2 osgearth or other integrated real time satellite dat</nowiki> | |||
| author = <nowiki>Hooray</nowiki> | |||
| date = Feb 20th, 2016 | |||
| added = Feb 20th, 2016 | |||
| script_version = 0.25 | |||
}} | |||
}} | |||
== Status == | == Status == | ||
{{FGCquote | {{FGCquote |
Revision as of 19:48, 20 February 2016
This article is a stub. You can help the wiki by expanding it. |
The FlightGear forum has a subforum related to: OsgEarth support in FlightGear |
Objective
Background
3.4 is required, based on looking at this: https://gitlab.com/poweroftwo/flightgear-osgearth/commits/OsgEarth-FG3.4-Kdis
However, most SG/FG related changes that would conflict with a merge are relatively trivial, i.e. could be resolved by manual edits pretty easily - I don't think that there's lots of scenery related code that got updated recently, i.e. anything affecting the osgEarth patch - simply because FG/osgEarth overrides much of the standard scenery engine anyway. I *assume* that merge conflicts should be relatively straightforward to fix up - but it would make sense to look at the latest release branch in that case. But even that, people would still need to build the whole shebang— Hooray (Feb 20th, 2016). Re: 3.2 osgearth or other integrated real time satellite dat.
(powered by Instant-Cquotes) |
Status
That's basically the whole idea behind osgEarth. It can do satellite/orthoimagery (that's what you see advertised the most), but it can also load shapefiles, DEM etc. And it even comes with built-in LOD — Gijs de Rooy (2015-03-14). Re: [Flightgear-devel] Google Code closing down.
(powered by Instant-Cquotes) |
Assumptions
- You already have working branches of SG/FG and FGData, you only need to add the simperative branches as remote tracking branches
- $SG_SRC, $FG_SRC and $FG_ROOT must be clean checkouts, commit/stash any unsaved work and check out next/master first.
Building the osgEarth plugin
- clone the repository:
git clone -v -b 2.12-OsgEarthIntegration git@gitorious.org:fg/flightgear-osgearth.git flightgear
- create a separate build directory
- configure via CMake, set -DCMAKE_INSTALL_PREFIX matching your OSG/SG/FG installation path (not needed if you installed OSG/SG system-wide)
- run "make install" (to run a parallel build, pass -j x, where is x the number of cores available/to be used)
- next, build SimGear
SimGear
Switch into your cloned SimGear repository, make sure that it is in a clean state (commit/stash any changes, switch to next)
## add a new remote alias git remote add simperative git@gitorious.org:fg/simgear-osgearth.git ## fetch all branches git fetch simperative ## check out a remote tracking branch named topics/osgearth git checkout --track -b topics/osgearth simperative/2.12-OsgEarthIntegration
- run make -j4 install
- switch to your FG_SRC directory
FlightGear
Switch into your cloned FlightGear repository, make sure that it is in a clean state (commit/stash any changes, switch to next)
git remote add simperative git@gitorious.org:fg/flightgear-osgearth.git git fetch simperative git checkout --track -b topics/osgearth simperative/2.12-OsgEarthIntegration
FGData
git remote add simperative git@gitorious.org:fg/fgdata-osgearth.git git fetch simperative git checkout --track -b topics/osgearth simperative/2.12-OsgEarthIntegration