Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1.3k
    • Issues 1.3k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 550
    • Merge requests 550
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • GStreamerGStreamer
  • gstreamergstreamer
  • Issues
  • #1629

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

  1. open terminal
  2. 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.

Edited Jul 25, 2023 by Stéphane Cerveau
Assignee
Assign to
Time tracking