[Bug 796082] New: programs in tests/examples/gl/sdl cannot be built
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun May 13 21:14:05 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796082
Bug ID: 796082
Summary: programs in tests/examples/gl/sdl cannot be built
Classification: Platform
Product: GStreamer
Version: 1.14.0
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: pierre.labastie at neuf.fr
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I get:
make[6] : Entering directory
'/sources/gst10-plugins-base/gst-plugins-base-1.14.0/tests/examples/gl/sdl'
CC sdlshare-sdlshare.o
CCLD sdlshare
/usr/bin/ld: cannot find -lgstvideo-1.0
the reason is that the full command is:
/bin/sh ../../../../libtool --tag=CC --mode=link gcc -I../../../../gst-libs
-I../../../../gst-libs -I../../../../gst-libs -I../../../../gst-libs -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -fno-strict-aliasing -DG_THREADS_MANDATORY
-DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla
-Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
-Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Winit-self
-Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g
-fvisibility=hidden -I/usr/include/libdrm -D_GNU_SOURCE=1 -D_REENTRANT
-I/usr/include/SDL -g -O2 -o sdlshare sdlshare-sdlshare.o -lgstreamer-1.0
-lgobject-2.0 -lglib-2.0 -lGL -lGLESv2 -lX11-xcb -lX11 -lxcb -lwayland-cursor
-lwayland-egl -lwayland-client -lEGL -lEGL -Wl,-rpath,/usr/lib -lSDL -lpthread
../../../../gst-libs/gst/gl/libgstgl-1.0.la -lgstvideo-1.0
but there is no -Ldir to allow finding libgstvideo-1.0.so.
I guess the lines:
-lgstvideo-$(GST_API_VERSION)
should be changed to:
$(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la
in tests/examples/gl/sdl/Makefile.am
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list