From: Arnt K. <ar...@c2...> - 2011-11-30 13:53:52
|
On Mon, 28 Nov 2011 00:50:33 +0900, Miles wrote in message <CAL=gY8...@ma...>: > Hi everyone, > > I'm trying to build flightgear with brisa's script on Lubuntu and the > osg libraries aren't being found. I'm not in a hurry to know the > answer to this, but if anyone can tell me how to fix this, thank you. > > I did ./download_and_compile.sh -j4 -p n with the attached .sh file ..try again with Brisa's most recent script, it may have been updated. Failing that, try build with -j1. I also see warnings on "ITK" in your paste bin. ..an oneliner way to isolate things: 'for i in $TARGETS \ ;do ./download_and_compile.sh -s -a n -p n -j4 $i ;mv -vf \ compilation_log.txt compiled_$i.`date +%F+%T-%Z` ;done '. ..find target suggestions with './download_and_compile.sh -h ', aim with e.g. 'TARGETS="ALL UPDATE" ', optionally have your gun crew confirm acquisition with 'echo $TARGETS ' before launching my oneliner. > and got the messages which are in pastebin here: > http://pastebin.com/biWt0HuY ..your line # (1?)823 says: -- Found OpenSceneGraph: /home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgText.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgSim.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgDB.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgParticle.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgUtil.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosg.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libOpenThreads.so (Required is at least version "3.0.0") ..your line # (2?)528 (FG build section) however says: -- Found OpenSceneGraph: /home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgText.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgSim.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgDB.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgParticle.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgFX.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgUtil.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgViewer.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosgGA.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libosg.so;/home/mcolman/fgfs/install/OpenSceneGraph/lib64/libOpenThreads.so (Required is at least version "2.8.1") ..which I _guess_ means it found the wrong (Lubuntu 11.10's?) OSG. You must point it to the OSG you built (with ld?). (I've ever had this problem, I'm on Debian, so I guess.) -- ..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. |