GstGlApi compile error

Gordon Nickel gordon.nickel at downstream.com
Tue Sep 29 17:38:45 PDT 2015


Hi,

I'm attempting to use the gl api for playback in a C++ app, and getting a wall of compile errors when I include gst/gl/gl.h using 1.6.0 in Windows with VS2013. The error is:

1>c:\gstreamer\1.0\x86\include\gstreamer-1.0\gst\gl\glprototypes\base.h(51): error C2059: syntax error : '('
1>c:\gstreamer\1.0\x86\include\gstreamer-1.0\gst\gl\glprototypes\base.h(51): error C2238: unexpected token(s) preceding ';'

Which points to this line (and every other line using GST_GL_EXT_FUNCTION):

GST_GL_EXT_FUNCTION (void, BindTexture,
                     (GLenum target, GLuint texture))

I've double-checked all the include paths - is there something I'm missing?

Thanks!

Gordon Nickel
Lead Developer

downstream
1624 NW Johnson Street
Portland, OR 97209, USA

503.226.1944 main
503.226.1283 fax

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150930/f987e2a3/attachment.html>


More information about the gstreamer-devel mailing list