[Bug 763324] New: nvenc fails to compile with Nvidia video SDK 6.0
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Mar 8 13:57:19 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=763324
Bug ID: 763324
Summary: nvenc fails to compile with Nvidia video SDK 6.0
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: minor
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: glippitsch at toolsonair.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
nvenc fails to compile with Nvidia video SDK 6.0 with the following error:
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/base.h:265:23: error: unknown type name
'GLsizeiptr'
GLsizeiptr size,
^
../../gst-libs/gst/gl/gstglapi.h:112:24: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
../../gst-libs/gst/gl/glprototypes/base.h:270:23: error: unknown type name
'GLintptr'
GLintptr offset,
^
../../gst-libs/gst/gl/gstglapi.h:112:24: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
../../gst-libs/gst/gl/glprototypes/base.h:271:23: error: unknown type name
'GLsizeiptr'
GLsizeiptr size,
^
../../gst-libs/gst/gl/gstglapi.h:112:24: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
../../gst-libs/gst/gl/glprototypes/base.h:327:38: error: unknown type name
'GLintptr'
(GLenum target, GLintptr offset, GLsizeiptr length,
GLbitfield access))
^
../../gst-libs/gst/gl/gstglapi.h:112:24: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
../../gst-libs/gst/gl/glprototypes/base.h:327:55: error: unknown type name
'GLsizeiptr'
(GLenum target, GLintptr offset, GLsizeiptr length,
GLbitfield access))
^
../../gst-libs/gst/gl/gstglapi.h:112:24: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
../../gst-libs/gst/gl/glprototypes/eglimage.h:49:23: error: unknown type name
'GLeglImageOES'
GLeglImageOES image))
^
../../gst-libs/gst/gl/gstglapi.h:112: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:112:24: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
../../gst-libs/gst/gl/glprototypes/shaders.h:214:23: error: unknown type name
'GLchar'
GLchar* name))
^
../../gst-libs/gst/gl/gstglapi.h:112:24: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
../../gst-libs/gst/gl/glprototypes/shaders.h:219:23: error: unknown type name
'GLchar'
GLchar* source))
^
../../gst-libs/gst/gl/gstglapi.h:112:24: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
../../gst-libs/gst/gl/glprototypes/shaders.h:268:29: error: unknown type name
'GLchar'
const GLchar* name))
^
../../gst-libs/gst/gl/gstglapi.h:112:24: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
../../gst-libs/gst/gl/glprototypes/shaders.h:276:23: error: unknown type name
'GLchar'
GLchar* name))
^
../../gst-libs/gst/gl/gstglapi.h:112:24: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
../../gst-libs/gst/gl/glprototypes/sync.h:27:22: error: expected
specifier-qualifier-list before 'GLsync'
GST_GL_EXT_FUNCTION (GLsync, FenceSync,
^
../../gst-libs/gst/gl/gstglapi.h:112:3: note: in definition of macro
'GST_GL_EXT_FUNCTION'
ret (GSTGLAPI *name) args;
^
gstnvbaseenc.c: In function '_get_supported_input_formats':
gstnvbaseenc.c:176:12: error: 'NV_ENC_BUFFER_FORMAT_NV12_TILED16x16' undeclared
(first use in this function)
case NV_ENC_BUFFER_FORMAT_NV12_TILED16x16:
^
gstnvbaseenc.c:176:12: note: each undeclared identifier is reported only once
for each function it appears in
gstnvbaseenc.c:177:12: error: 'NV_ENC_BUFFER_FORMAT_NV12_TILED64x16' undeclared
(first use in this function)
case NV_ENC_BUFFER_FORMAT_NV12_TILED64x16:
^
gstnvbaseenc.c:181:12: error: 'NV_ENC_BUFFER_FORMAT_YV12_TILED16x16' undeclared
(first use in this function)
case NV_ENC_BUFFER_FORMAT_YV12_TILED16x16:
^
gstnvbaseenc.c:182:12: error: 'NV_ENC_BUFFER_FORMAT_YV12_TILED64x16' undeclared
(first use in this function)
case NV_ENC_BUFFER_FORMAT_YV12_TILED64x16:
^
gstnvbaseenc.c:186:12: error: 'NV_ENC_BUFFER_FORMAT_IYUV_TILED16x16' undeclared
(first use in this function)
case NV_ENC_BUFFER_FORMAT_IYUV_TILED16x16:
^
gstnvbaseenc.c:187:12: error: 'NV_ENC_BUFFER_FORMAT_IYUV_TILED64x16' undeclared
(first use in this function)
case NV_ENC_BUFFER_FORMAT_IYUV_TILED64x16:
^
gstnvbaseenc.c:191:12: error: 'NV_ENC_BUFFER_FORMAT_YUV444_TILED16x16'
undeclared (first use in this function)
case NV_ENC_BUFFER_FORMAT_YUV444_TILED16x16:
^
gstnvbaseenc.c:192:12: error: 'NV_ENC_BUFFER_FORMAT_YUV444_TILED64x16'
undeclared (first use in this function)
case NV_ENC_BUFFER_FORMAT_YUV444_TILED64x16:{
^
CCLD libgstfbdevsink.la
Makefile:909: recipe for target 'libgstnvenc_la-gstnvbaseenc.lo' failed
make[3]: *** [libgstnvenc_la-gstnvbaseenc.lo] Error 1
Compilation with SDK version 5.0 works though.
--
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