Vorlon Apprentice
Joined: 16 May 2003 Posts: 246 Location: West Grove, PA
|
Posted: Fri Feb 03, 2017 10:57 pm Post subject: [Solved] FlightGear & openscenegraph-3.5.1-r1 |
|
|
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 |
|