git remote add 2016.2.0-OsgEarth https://gitlab.com/poweroftwo/flightgear-osgearth.git
git fetch 2016.2.0-OsgEarth
git checkout --track -b poweroftwo/2016.2.0-OsgEarth
#######################################################
# SIMGEAR
#######################################################
SIMGEAR_INSTALL_DIR=simgear
INSTALL_DIR_SIMGEAR=$INSTALL_DIR/$SIMGEAR_INSTALL_DIR
cd "$CBD"
if [[ "$(declare -p WHATTOBUILD)" =~ '['([0-9]+)']="SIMGEAR"' ]]; then
echo "****************************************" | tee -a $LOGFILE
echo "**************** SIMGEAR ***************" | tee -a $LOGFILE
echo "****************************************" | tee -a $LOGFILE
mkdir -p "simgear"
cd "$CBD"/simgear
_gitDownload git://git.code.sf.net/p/flightgear/simgear
_gitUpdate $FGVERSION
git remote rm origin
git remote add 2016.2.0-OsgEarth https://gitlab.com/poweroftwo/flightgear-osgearth.git
git fetch 2016.2.0-OsgEarth
git checkout --track -b poweroftwo/2016.2.0-OsgEarth
if [ "$RECONFIGURE" = "y" ]; then
cd "$CBD"
mkdir -p build/simgear
cd "$CBD"/build/simgear
rm -f CMakeCache.txt
"$CMAKE" -DCMAKE_BUILD_TYPE="$BUILD_TYPE" \
-DCMAKE_INSTALL_PREFIX:PATH="$INSTALL_DIR_SIMGEAR" \
-DCMAKE_PREFIX_PATH="$INSTALL_DIR_OSG;$INSTALL_DIR_OPENRTI" \
$SG_CMAKEARGS \
../../simgear 2>&1 | tee -a $LOGFILE
fi
_make simgear
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/home/amarildo/Documents/Jogos/FlightGear/Build/simgear/ \
-DCMAKE_INSTALL_PREFIX=/home/amarildo/Documents/Jogos/FlightGear/Build/flightgear/ \
-DCMAKE_PREFIX_PATH=/home/amarildo/Documents/Jogos/FlightGear/Build/install/simgear/ \
-DCMAKE_PREFIX_PATH=/home/amarildo/Documents/Jogos/FlightGear/Build/openscenegraph/ \
-DCMAKE_PREFIX_PATH=/home/amarildo/Documents/Jogos/FlightGear/Build/simgear/ \
-DCMAKE_PREFIX_PATH=/home/amarildo/Documents/Jogos/FlightGear/Build/install/simgear/include/simgear/
Amarildojr wrote in Thu Nov 10, 2016 6:17 pm:Unfortunately nobody seems interested in it, at least that's a reflection on that horribly outdated Wiki page which has instructions to build a very old version of OsgEarth.
Johan G wrote in Thu Nov 10, 2016 7:25 pm:If you do not have a wiki account, please get one. Even as little as adding an {{out of date}} template would be helpful. If you would at some point figure out how to make it work and can document the process, all the better.
Amarildojr wrote in Thu Nov 10, 2016 7:31 pm:[...] I've never edited a Wiki before, I'm very scared to do something wrong for the community
wkitty42 wrote in Thu Nov 10, 2016 7:40 pm:FWIW: osm stuff is being worked into FGFS... it will take some more time but it looks like it is coming... it is not osgearth, though, but it appears that buildings, roads and numerous other osm objects will eventually be available... with the recent and upcoming code changes in FGFS, i would expect that the osgearth stuff is already woefully out of date and unable to be applied any more... at least not like it was at one time...
[edit: osg -> osm ]
Johan G wrote in Thu Nov 10, 2016 7:45 pm:Amarildojr wrote in Thu Nov 10, 2016 7:31 pm:[...] I've never edited a Wiki before, I'm very scared to do something wrong for the community
I have yet to see an article being messed up bad enough that it can not be reverted to the previous revision in the page history.
As a teaser you could skim though the pages linked to from the main help page of the FlightGear wiki Help:Contents.
Hooray wrote in Thu Nov 10, 2016 7:52 pm:A number of us are using it, and it is working just fine last I checked - but like I said, you definitely need to be familiar with git, cmake etc - outdated URLs are just a minor thing in comparison to what you really need to understand.
Users browsing this forum: No registered users and 1 guest