On Fri, 1 Feb 2013 23:18:05 -0500, Pat wrote in message
<20130201231805.3e3875a7@spinnaker>:
> libRTI-NG.so.1 should be in test-tree/install/openrti/libRTI-NG.so.1
>
>
> The following works for me:
> ------------------------------------------------
> #bin/bash
> TEST_TREE=$1
> if [ "$TEST_TREE" == "" ]
> then
> TEST_TREE="test-tree"
> fi
> mkdir -vp test-tree
> cd test-tree
> wget -c \
> http://www.gitorious.org/fg/fgmeta/blobs/raw/master/download_and_compile.sh
> sh download_and_compile.sh -j 2 |tee download_and_compile.sh--j-2.log
> sh download_and_compile.sh -a n -p n -d n -j 2 ALL |tee \
> download_and_compile.sh-a-n--p-n--d-n--j-2-ALL.log
>
> run_fgrun.sh and Flightgear started right
>
>
> after the first download_and_compile.sh, libRTI-NG.so.1 should be in
> test-tree/install/openrti/libRTI-NG.so.1
..nope, not here:
rnt@celsius:~/FG-git$ tree install/openrti/lib/
install/openrti/lib/
└── x86_64-linux-gnu
...
├── libRTI-NG.so -> libRTI-NG.so.1
├── libRTI-NG.so.1 -> libRTI-NG.so.1.3.0
└── libRTI-NG.so.1.3.0
..but I'mone step closer, "now it cranks, puffs 'n smokes", do I
need the "Enabling ATI viewport hack" with the radeon driver???:
arnt@celsius:~/FG-git$ bash run_fgfs.sh --geometry=1600x1080 &
[1] 12795
arnt@celsius:~/FG-git$ Enabling ATI viewport hack
Animated jetways ... initialized
KMA20 audio panel initialized
KI266 dme indicator #0 initialized
loading scenario 'nimitz_demo'
Electrical system initialized
r300 FP: Compiler Error:
compiler/r500_fragprog_emit.c::emit_paired(): emit_alu: Too many
instructions Using a dummy shader instead.
r300 FP: Compiler Error:
compiler/r500_fragprog_emit.c::emit_paired(): emit_alu: Too many
instructions Using a dummy shader instead.
glLinkProgram "" FAILED
Program "" infolog:
error: fragment shader varying rawpos not written by vertex shader
.error: shader uses too many varying components (44 > 40), but the
driver will try to optimize them out; this is non-portable out-of-spec
behavior
run_fgfs.sh: line 5: 12797 Segmentation fault ./fgfs
--fg-root=$PWD/../fgdata/ $@
[1]+ Exit 139 bash run_fgfs.sh --geometry=1600x1080
arnt@celsius:~/FG-git$
..this compile and segfault was done on system plib and system osg:
arnt@celsius:~/FG-git$ dpkg -l |grep libplib |fmt -tu
ii libplib-dev 1.8.5-6 amd64 Portability Libraries: Development package
ii libplib1 1.8.5-6 amd64 Portability Libraries: Run-time package
arnt@celsius:~/FG-git$ dpkg -l |grep openscenegraph |fmt -tu
ii libopenscenegraph-dev 3.0.1-4 amd64 3D scene graph, development files
ii libopenscenegraph80 3.0.1-4 amd64 3D scene graph, shared libs
ii openscenegraph 3.0.1-4 amd64 3D scene graph, utilities and examples
(binaries)
ii openscenegraph-doc 3.0.1-4 all 3D scene graph, documentation
ii openscenegraph-examples 3.0.1-4 all 3D scene graph, examples
(sources)
ii openscenegraph-plugin-citygml-shared 0.14+svn128-1+3p0p1+4 amd64
libcitygml OpenSceneGraph plugin (shared version)
ii openscenegraph-plugin-citygml-static 0.14+svn128-1+3p0p1+4 amd64
libcitygml OpenSceneGraph plugin (static version)
arnt@celsius:~/FG-git$
..my patch needs more work, fgrun compile fails on libfltk1.3-dev:
-- Performing Test HAVE_FLTK_1_3
-- Performing Test HAVE_FLTK_1_3 - Failed
CMake Error at CMakeLists.txt:228 (message):
FLTK 1.3 is required
arnt@celsius:~/FG-git$ ll download_and_compile-1.9-4a.patch &&md5sum
download_and_compile-1.9-4a.patch -rw-r--r-- 1 arnt arnt 2853 Feb 3
06:51 download_and_compile-1.9-4a.patch
79dd3f7d7363231d705c336733073475 download_and_compile-1.9-4a.patch
arnt@celsius:~/FG-git$
> A side note:
> $sh download_and_compile.sh.
> will work even without the chmod -x download_and_compile.sh
..aye, and svn can be tossed out too, git "speaks" svn, and
I'll put fgdata in my FG-git tree root and link it home:
arnt@celsius:~/FG-git$ ll -d install/fgfs/fgdata fgdata
drwxr-xr-x 31 arnt arnt 4096 Feb 3 06:11 fgdata
lrwxrwxrwx 1 arnt arnt 24 Feb 3 06:12 install/fgfs/fgdata
-> /home/arnt/FG-git/fgdata arnt@celsius:~/FG-git$
--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.
--- download_and_compile-1.9-4.sh 2013-01-04 11:43:24.000000000 +0100
+++ download_and_compile-1.9-4a.sh 2013-02-03 04:27:30.598266993 +0100
@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-VERSION="1.9-4"
+VERSION="1.9-4a"
#COMPILE GIT FGFS
@@ -272,7 +272,7 @@
DISTRO_PACKAGES="libopenal-dev libalut-dev libalut0 libfltk1.3-dev libfltk1.3 cvs subversion cmake make build-essential automake zlib1g-dev zlib1g libwxgtk2.8-0 libwxgtk2.8-dev fluid gawk gettext libxi-dev libxi6 libxmu-dev libxmu6 libboost-dev libasound2-dev libasound2 libpng12-dev libpng12-0 libjasper1 libjasper-dev libopenexr-dev libboost-serialization-dev git-core libhal-dev libqt4-dev scons python-tk python-imaging-tk libsvn-dev libglew1.5-dev libxft2 libxft-dev libxinerama1 libxinerama-dev"
UBUNTU_PACKAGES="freeglut3-dev libjpeg62-dev libjpeg62 libapr1-dev libfltk1.3-dev libfltk1.3"
-DEBIAN_PACKAGES="freeglut3-dev libjpeg8-dev libjpeg8 libfltk-dev libfltk1.1"
+DEBIAN_PACKAGES="freeglut3-dev libjpeg8-dev libjpeg8 libfltk-dev libfltk1.1-dev libfltk1.1"
# checking linux distro and version to differ needed packages
if [ "$DISTRIB_ID" = "Ubuntu" -o "$DISTRIB_ID" = "LinuxMint" ]
@@ -370,9 +370,9 @@
cd "$CBD"
-#svn co http://plib.svn.sourceforge.net/svnroot/plib/trunk plib
+#git svn clone -s http://plib.svn.sourceforge.net/svnroot/plib/trunk plib
-if [ "$WHATTOBUILD" = "" -o "$WHATTOBUILD" = "PLIB" -o "$WHATTOBUILD" = "ALL" ]
+if [ "$WHATTOBUILD" = "PLIB" ]
then
if [ ! "$UPDATE" = "UPDATE" ]
then
@@ -393,15 +393,15 @@
if [ "$DOWNLOAD" = "y" ]
then
- if [ -d "plib/.svn" ]
+ if [ -d "plib/.git" ]
then
echo -n "updating plib svn" >>$LOGFILE
cd plib
- svn update $PLIB_STABLE_REVISION_
+ git update $PLIB_STABLE_REVISION_
cd -
else
echo -n "DOWNLOADING FROM http://plib.svn.sourceforge.net ..." >> $LOGFILE
- svn $PLIB_STABLE_REVISION_ co http://plib.svn.sourceforge.net/svnroot/plib/trunk plib
+ git svn clone -s -r $PLIB_STABLE_REVISION_ http://plib.svn.sourceforge.net/svnroot/plib/trunk plib
#cat plib/src/util/ul.h | sed s/"PLIB_TINY_VERSION 5"/"PLIB_TINY_VERSION 6"/g > ul.h-v1.8.6
#mv ul.h-v1.8.6 plib/src/util/ul.h
echo " OK" >> $LOGFILE
@@ -460,7 +460,7 @@
INSTALL_DIR_OSG=$INSTALL_DIR/$OSG_INSTALL_DIR
cd "$CBD"
-if [ "$WHATTOBUILD" = "" -o "$WHATTOBUILD" = "OSG" -o "$WHATTOBUILD" = "ALL" ]
+if [ "$WHATTOBUILD" = "OSG" ]
then
echo "****************************************" | tee -a $LOGFILE
echo "**************** OSG *******************" | tee -a $LOGFILE
@@ -476,7 +476,7 @@
if [ "$DOWNLOAD" = "y" ]
then
echo -n "SVN FROM $OSG_SVN ... " >> $LOGFILE
- svn co "$OSG_SVN" OpenSceneGraph
+ git svn clone -s -r "$OSG_SVN" OpenSceneGraph
echo " OK" >> $LOGFILE
fi
cd OpenSceneGraph
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel