From: Frederic Bouvier
To: FlightGear developers discussions
Sent: Monday, 17 September 2012, 17:12
Subject: [Flightgear-devel] RE : fg build error
You need to erase the cmake cache, your build directory and rebuild simgear
Regards
-Fred
Thanks, Fred, but all my FG builds are on /tmp and deleted after install.
FYI, if anyone is interested, here follows my build script..
#!/bin/bash
BUILDDIR=/tmp
SGDIR=${BUILDDIR}/SGBuild
FGDIR=${BUILDDIR}/FGBuild
OSGDIR=${BUILDDIR}/OSGBuild
SRC=/opt
OSGSRC=${SRC}/OpenSceneGraph-3.0.1
SGSRC=${SRC}/FlightGear/simgear
FGSRC=${SRC}/FlightGear/flightgear
export LIBSVN_DIR=/usr/lib/x86_64-linux-gnu
build_osg () {
mkdir -p $OSGDIR && cd $OSGDIR
cmake $OSGSRC
make && ${SUDO}make install
rm -rf $OSGDIR
}
build_sg () {
mkdir -p $SGDIR && cd $SGDIR
cmake -DJPEG_FACTORY=true $SGSRC
make && ${SUDO}make install
rm -rf $SGDIR
}
build_fg () {
mkdir -p $FGDIR && cd $FGDIR
cmake $FGSRC
make && ${SUDO}make install
rm -rf $FGDIR
}
#exec starts here
[ "$1" == "-osg" ] && build_osg
build_sg
build_fg
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
buildfg
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel