Building on Windows with a focus on generating PDB files

David Ing ding at panopto.com
Thu Sep 5 19:44:03 UTC 2019


The official Windows binaries are built using this tool:
https://gitlab.freedesktop.org/gstreamer/cerbero

The official WIndows binaries are built on a Windows machine, although it
is possible to build the mingw binaries from Linux using a cross-compile
(through cerbero).  The MSVC build is great because it provides *.pdb
files, but not all components can be built using msvc, the remainder are
built via mingw.  Unfortunately, building on a WIndows machine takes a
really really really long time.  (The cross-compile from Linux is much
faster.)

With Cerbero, the 1.16 branches use a very old version of the mingw
toolchain.  The master branch uses a newer version of the mingw toolchain.

There are a number of known bugs with the Windows version of gstreamer
which do not exist on Linux.  (I do not know if anybody is maintaining a
list of those bugs.)

On Thu, Sep 5, 2019 at 11:51 AM Ben Rush <ben at ben-rush.net> wrote:

> I have a desire to build Gstreamer on Windows, more specifically a debug
> build so that I can track down some crashes that are occurring.
> Unfortunately, it seems as though this isn't a thing that's well-traveled,
> or I'm at least getting conflicting information on forums and blog posts
> about the process. I thought I'd ask on here about the latest state of
> things since blog posts/forum posts can be depreciated quickly with
> updates. I'm cool with RTFM, but some sources I'm reading say the manual
> itself is out of date.
>
> For example, a couple of blog posts (such as this one:
> https://cardinalpeak.com/blog/build-gstreamer-on-windows-an-advanced-tutorial/)
> that don't appear too old, mention the existing instructions are, and I
> quote, "woefully out of date" (presumably when specifically targeting
> Windows) and that the task is "fairly complex". There are Windows builds,
> and so presumably there is a well-tested method for generating these
> binaries on Windows. If so, surely there are well-tested steps out there
> for doing what I want. But if instructions available to me (I'm assuming
> this blog post meant the official instructions) are out of date, I'd like
> to keep that in mind as I'm using them. Or if HE is wrong, I'd like to know
> that. And if the official instructions are NOT out of date, I'm wondering
> if anyone has had any luck using them to generate any other than release
> builds?
>
> Any advice? Pointers? Feedback? Thanks for your time.
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190905/0af739ae/attachment-0001.html>


More information about the gstreamer-devel mailing list