Configuring gst-plugins-base with OpenGL integration on Windows

Ilya Aleshkov ilya.aleshkov at gmail.com
Fri Oct 21 10:25:26 UTC 2022


Hi,

I'd like to build the nvcodec plugin from source. Dependency
'gstreamer-gl-1.0' is required.
That's why I'm looking for a way to enable OpenGL integration for
gst-plugins-base.
Obviously, gl_winsys=win32 is not enough:

meson --buildtype=release
-Dauto_features=disabled
-Dgstreamer:tools=disabled
-Dbase=enabled
-Dgst-plugins-base:gl=enabled
-Dgst-plugins-base:gl_winsys=win32
-Dbad=enabled
-Dgst-plugins-bad:gl=enabled
-Dgst-plugins-bad:nvcodec=enabled

Output:
gst-plugins-base| Dependency (anonymous) from subproject
subprojects/gl-headers found: YES 2019.1.0
gst-plugins-base| Run-time dependency opengl found: NO (tried pkgconfig)
gst-plugins-base| Run-time dependency gl found: NO (tried pkgconfig)
gst-plugins-base| Library opengl32 found: YES
gst-plugins-base| Has header "GL/gl.h" : YES
gst-plugins-base| Run-time dependency glx found: NO (tried pkgconfig)
gst-plugins-base| Found CMake: C:\Program Files\CMake\bin\cmake.EXE (3.24.2)
gst-plugins-base| Run-time dependency glesv2 found: NO (tried pkgconfig and
cmake)
gst-plugins-base| Library GLESv2 found: NO
gst-plugins-base| Has header "GLES2/gl2.h" : NO
gst-plugins-base| Run-time dependency egl found: NO (tried pkgconfig and
cmake)
gst-plugins-base| Library EGL found: NO
gst-plugins-base| Library gdi32 found: YES
gst-plugins-base| Has header "GL/wglext.h" : NO
gst-plugins-base| Message: No OpenGL Platforms found or requested
gst-plugins-base| Message: No OpenGL Window systems found or requested

..\subprojects\gst-plugins-base\gst-libs\gst\gl\meson.build:1224:2: ERROR:
Problem encountered: GStreamer OpenGL integration required via options, but
needed dependencies not found.

Thanks,
Ilya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20221021/e5989ce2/attachment.htm>


More information about the gstreamer-devel mailing list