Static build is failing on Windows platform
Describe your issue
The build is failing if the user configures the build in static mode/gstreamer-full
-
gstinitstaticplugins.c is not properly generated. Fixed by !3526 (merged) -
validate.c
defines a second Dllmain (see gst.c). Needs to condition the declaration of it !3540 -
vpx is failing to link in gstreamer-full library (Fixed if GStreamer is not installed on the system) -
lame is failing to link in gstreamer-full library (Fixed if GStreamer is not installed on the system) -
vulkan defined sub_class_proc
as gstgl !4246 (merged) -
dshow and mediafoundation can not be built together. MEDIASUBTYPE_I420
already defined in one. !4246 (merged) -
The tools (gst-discoverer etc.) link with both gstreamer-full and gstreamer static libraries (*.a) (Fixed with !3540 !5098) -
libpsl tools/tests/examples do not build properly in static mode -
In gst-full-target-type=shared the symbols must be exported properly on Windows ( see !2104)
Expected Behavior
The build to generate a gstreamer-full library with all dependencies and the tools to link against it properly
Observed Behavior
The build is failing at link stage
Setup
- Operating System: Windows
- Device: Computer
- GStreamer Version: 1.21
-
Command line:
meson builddir-static --default-library=static
Steps to reproduce the bug
- open terminal
- type
$ meson builddir-static --default-library=static
How reproducible is the bug?
Always
Screenshots if relevant
Solutions you have tried
$ meson builddir-static --default-library=static -Ddevtools=disabled -Dgst-plugins-good:lame=disabled -Dgst-plugins-bad:mediafoundation=disabled -Dgst-plugins-bad:vulkan=disabled -Dgst-plugins-good:vpx=disabled
Related non-duplicate issues
Additional Information
The build must be performed without any gstreamer installation available on the system.