Re: [Flightgear-devel] RE : fg build error

2012-09-17 Thread ;Alasdair Campbell





 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


[Flightgear-devel] RE : fg build error

2012-09-17 Thread Frederic Bouvier
You need to erase the cmake cache, your build directory and rebuild simgear

Regards
-Fred




Alasdair  a écrit :

FG commit "Update FindSimGear for simplified lib names", by James makes my 
build die with the error:

CMake Error: The following variables are used in this project, but they are set 
to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake 
files:
SIMGEAR_SCENE_LIBRARY_RELEASE (ADVANCED)

cmake version is 2.8.9
simgear libs installed in /usr/local/lib/x86_64-linux-gnu
simgear includes installed in /usr/local/include/simgear
Distro debian/sid

Regards Alasdair 




--
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