How to do gst-plugin cross-compilation for Windows (dll)?

AurelienV aurelien.veillard28 at
Fri Apr 29 13:33:24 UTC 2016

My bad! I did some mistakes with and configure tools. This works

./ --build=x86_64-linux-gnu --host=i686-w64-mingw32
--target=i686-w64-mingw32 --enable-shared --disable-static
./configure --build=x86_64-linux-gnu --host=i686-w64-mingw32
--target=i686-w64-mingw32 --enable-shared --disable-static (I'm not sure if
it's needed to repeat these parameters ?)

I also did some modifications in gst-template/gst-plugin/
> Changing LT_INIT to LT_INIT([win32-dll])
> Adding "-shared -no-undefined" at the end of GST_PLUGIN_LDFLAGS

But, I have new linker mistakes ... 

*** Warning: linker path does not have real file for library
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgstcontroller-1.0 but no candidates were found. (...for file
magic test)

[...] *And the same for gstaudio-1.0, gstbase-1.0, gstreamer-1.0,
gobject-2.0 and glib-2.0*

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libgstplugin.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

So, I only have .a and .la libraries.

View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list