Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] FlightGear & openscenegraph-3.5.1-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Vorlon
Apprentice
Apprentice


Joined: 16 May 2003
Posts: 246
Location: West Grove, PA

PostPosted: Fri Feb 03, 2017 10:57 pm    Post subject: [Solved] FlightGear & openscenegraph-3.5.1-r1 Reply with quote

Trying to emerge flightgear on an ~AMD64 system. openscenegraph would not compile. The failure came at this point:
Code:

[ 55%] Linking CXX shared module ../../../lib/osgPlugins-3.5.1/osgdb_gles.so
cd /var/tmp/portage/dev-games/openscenegraph-3.5.1-r1/work/openscenegraph-3.5.1_build/src/osgPlugins/gles && /usr/bin/cmake -E cmake_link_script CMakeFiles/osgdb_gles.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -march=native -O2 -pipe -Wall -Wparentheses -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -Wl,-O1 -Wl,--as-needed -shared  -o ../../../lib/osgPlugins-3.5.1/osgdb_gles.so CMakeFiles/osgdb_gles.dir/ReaderWriterGLES.o CMakeFiles/osgdb_gles.dir/OpenGLESGeometryOptimizer.o CMakeFiles/osgdb_gles.dir/TriangleStripVisitor.o CMakeFiles/osgdb_gles.dir/IndexMeshVisitor.o CMakeFiles/osgdb_gles.dir/UnIndexMeshVisitor.o CMakeFiles/osgdb_gles.dir/forsythtriangleorderoptimizer.o -Wl,-rpath,/var/tmp/portage/dev-games/openscenegraph-3.5.1-r1/work/openscenegraph-3.5.1_build/lib: ../../../lib/libosgDB.so.3.5.1 ../../../lib/libosgUtil.so.3.5.1 ../../../lib/libosg.so.3.5.1 ../../../lib/libOpenThreads.so.3.3.0 -lpthread -lm -lrt -ldl -lz -lGL
make[2]: Leaving directory '/var/tmp/portage/dev-games/openscenegraph-3.5.1-r1/work/openscenegraph-3.5.1_build'
[ 55%] Built target osgdb_gles
make[1]: Leaving directory '/var/tmp/portage/dev-games/openscenegraph-3.5.1-r1/work/openscenegraph-3.5.1_build'
make: *** [Makefile:128: all] Error 2




Adding the useflag "-ffmpeg" solved the problem and allowed openscenegraph to compile and then let flightgear continue.

[Moderator edit: added [code] tags to preserve output layout. -Hu]
_________________
Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum