Building FlightGear with osgEarth Integration

From FlightGear wiki
Revision as of 21:38, 19 November 2013 by Hooray (talk | contribs) (→‎SimGear)
Jump to navigation Jump to search
This article is a stub. You can help the wiki by expanding it.

Objective

Assumptions

  • You have working branches of SG/FG and FG, 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

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

FlightGear

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