[osg-users] [osgPlugins] gstreamer plugin failing to build in osg 3.4.0
Ben Woods
woodsb02 at gmail.com
Thu Apr 21 14:41:18 PDT 2016
Hi,
I am attempting to build OpenSceneGraph 3.4.0 on FreeBSD 10.2 (with clang 3.4.1 and cmake 3.5.2).
The osgdb_gstreamer is failing during the build with the following error (full build log also attached):
> [ 94%] Linking CXX shared module ../../../lib/osgPlugins-3.4.0/osgdb_gstreamer.so
> cd /wrkdirs/usr/ports/graphics/osg/work/.build/src/osgPlugins/gstreamer && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/osgdb_gstreamer.dir/link.txt --verbose=1
> /usr/bin/c++ -fPIC -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wparentheses -Wno-long-long -Wno-import -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -Wno-overloaded-virtual -Wno-variadic-macros -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector -shared -o ../../../lib/osgPlugins-3.4.0/osgdb_gstreamer.so CMakeFiles/osgdb_gstreamer.dir/GStreamerImageStream.o CMakeFiles/osgdb_gstreamer.dir/ReaderWriterGStreamer.o ../../../lib/libosgDB.so.3.4.0 ../../../lib/libosgUtil.so.3.4.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lgstapp-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lgstpbutils-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl /usr/local/lib/libglib-2.0.so /usr/local/lib/libgobject-2.0.so ../../../lib/libosg.so.3.4.0 ../../../lib/libOpenThreads.so.3.3.0 -pthread -lm -lz /usr/local/lib/libGL.so -lgstapp-1.0 -lgstbase-1.0 -lgstpbutils-1.0 /usr/local/lib/libglib-2.0.so /usr/local/lib/libgobject-2.0.so -
Wl,-rpath,/wrkdirs/usr/ports/graphics/osg/work/.build/lib:/usr/local/lib:
> /usr/bin/ld: cannot find -lgstreamer-1.0
> c++: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1
Any ideas how to fix this? It appears to be because the gstreamer libraries are not linked into this build with -L/usr/local/lib, however I can confirm they are installed in that directory under the gstreamer-1.0 sub-directory.
Thank you in advance,
Ben
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66916#66916
Attachments:
http://forum.openscenegraph.org//files/osg_340log_112.txt
More information about the osg-users
mailing list