6,566
edits
(→Status) |
(Switched to {{gitorious source}} to fix all of the broken instructions, and to abstract the Gitorious URLs.) |
||
Line 6: | Line 6: | ||
These should be the public links to the flightgear / osgEarth repositories (note that latest development is found in OsgEarthNext branch) | These should be the public links to the flightgear / osgEarth repositories (note that latest development is found in OsgEarthNext branch) | ||
* git clone -v -b OsgEarthNext | * {{gitorious source|cmd=git clone|opt=-v -b OsgEarthNext|proj=fg|repo=simgear-osgearth|type=git|post=simgear|full=1}} | ||
* git clone -v -b OsgEarthNext | * {{gitorious source|cmd=git clone|opt=-v -b OsgEarthNext|proj=fg|repo=flightgear-osgearth|type=git|post=flightgear|full=1}} | ||
* git clone -v -b OsgEarthNext | * {{gitorious source|cmd=git clone|opt=-v -b OsgEarthNext|proj=fg|repo=fgdata-osgearth|type=git|post=fgdata|full=1}} | ||
* git clone -v -b OsgEarthNext | * {{gitorious source|cmd=git clone|opt=-v -b OsgEarthNext|proj=fg|repo=fgrun-osgearth|type=git|post=fgrun|full=1}} | ||
Use this version of osgEarth: | Use this version of osgEarth: | ||
Line 118: | Line 118: | ||
== Building the osgEarth plugin == | == Building the osgEarth plugin == | ||
* clone the repository: | * clone the repository: | ||
{{#tag:syntaxhighlight| | |||
{{gitorious source|cmd=git clone|opt=-v -b 2.12-OsgEarthIntegration|proj=fg|repo=flightgear-osgearth|type=git|post=flightgear|full=1}} | |||
| lang = "sh" | |||
}} | |||
* create a separate build directory | * 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) | * configure via CMake, set '''-DCMAKE_INSTALL_PREFIX''' matching your OSG/SG/FG installation path (not needed if you installed OSG/SG system-wide) | ||
Line 126: | Line 130: | ||
== SimGear == | == SimGear == | ||
Switch into your cloned SimGear repository, make sure that it is in a clean state (commit/stash any changes, switch to next) | Switch into your cloned SimGear repository, make sure that it is in a clean state (commit/stash any changes, switch to next) | ||
{{#tag:syntaxhighlight| | |||
## add a new remote alias | ## add a new remote alias | ||
git remote add simperative | {{gitorious source|cmd=git remote add|opt=simperative|proj=fg|repo=simgear-osgearth|type=git|full=1}} | ||
## fetch all branches | ## fetch all branches | ||
Line 135: | Line 139: | ||
## check out a remote tracking branch named topics/osgearth | ## check out a remote tracking branch named topics/osgearth | ||
git checkout --track -b topics/osgearth simperative/2.12-OsgEarthIntegration | git checkout --track -b topics/osgearth simperative/2.12-OsgEarthIntegration | ||
| lang = "sh" | |||
}} | |||
* run '''make -j4 install''' | * run '''make -j4 install''' | ||
Line 142: | Line 147: | ||
== FlightGear == | == FlightGear == | ||
Switch into your cloned FlightGear repository, make sure that it is in a clean state (commit/stash any changes, switch to next) | Switch into your cloned FlightGear repository, make sure that it is in a clean state (commit/stash any changes, switch to next) | ||
{{#tag:syntaxhighlight| | |||
git remote add simperative | {{gitorious source|cmd=git remote add|opt=simperative|proj=fg|repo=flightgear-osgearth|type=git|full=1}} | ||
git fetch simperative | git fetch simperative | ||
git checkout --track -b topics/osgearth simperative/2.12-OsgEarthIntegration | git checkout --track -b topics/osgearth simperative/2.12-OsgEarthIntegration | ||
| lang = "sh" | |||
}} | |||
== FGData == | == FGData == | ||
{{#tag:syntaxhighlight| | |||
git remote add simperative | {{gitorious source|cmd=git remote add|opt=simperative|proj=fg|repo=fgdata-osgearth|type=git|full=1}} | ||
git fetch simperative | git fetch simperative | ||
git checkout --track -b topics/osgearth simperative/2.12-OsgEarthIntegration | git checkout --track -b topics/osgearth simperative/2.12-OsgEarthIntegration | ||
| lang = "sh" | |||
}} | |||
[[Category:Building from | [[Category:Building from source]] | ||
[[Category:Core development projects]] | [[Category:Core development projects]] |