[Bug 772688] configure does not does not find libraries for nvenc on Ubuntu 16.04

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 10 22:42:41 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=772688

--- Comment #3 from Florent Thiéry <florent.thiery at ubicast.eu> ---
Actually i tried to reproduce on a fresh 16.04 install, but i still get a build
error:
* install fresh Ubuntu 16.04.1
* install the nvidia-361, nvidia-cuda-dev packages and misc packages: apt-get
install nvidia-cuda-dev nvidia-361 git pkg-config bison flex
* install the gst plugins bad build deps:  apt-get build-deps
gstreamer1.0-plugins-base gstreamer1.0-plugins-bad 
* download the 6.0 version of the nvidia video codec sdk (into ~/src in the
example below), unzip the sdk
* build a gst-uninstalled environment (compile gstreamer, gst-plugins-base)
* compile gst-plugins-bad with: 

NVENCODE_CFLAGS="-I/home/user/src/nvidia_video_sdk_6.0.1/Samples/common/inc"
NVENCODE_LIBS="-L/usr/lib/nvidia-361/" ./autogen.sh --disable-gtk-doc
--with-cuda-prefix="/usr" && make

make: Entering directory '/home/ubicast/gst/master/gst-plugins-bad/sys/nvenc'
  CC       libgstnvenc_la-gstnvbaseenc.lo
In file included from ../../gst-libs/gst/gl/gstgl_fwd.h:26:0,
                 from ../../gst-libs/gst/gl/gl.h:29,
                 from gstnvbaseenc.c:34:
../../gst-libs/gst/gl/glprototypes/eglimage.h:49:23: error: unknown type name
‘GLeglImageOES’
                       GLeglImageOES    image))
                       ^
../../gst-libs/gst/gl/gstglapi.h:161:24: note: in definition of macro
‘GST_GL_EXT_FUNCTION’
   ret (GSTGLAPI *name) args;
                        ^
../../gst-libs/gst/gl/glprototypes/eglimage.h:52:23: error: unknown type name
‘GLeglImageOES’
                       GLeglImageOES    image))
                       ^
../../gst-libs/gst/gl/gstglapi.h:161:24: note: in definition of macro
‘GST_GL_EXT_FUNCTION’
   ret (GSTGLAPI *name) args;
                        ^

NB: Adding --disable-egl does not help

-- 
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