Writing Gstreamer plugin in Visual Studio

Alexey aimaev at gmail.com
Fri Oct 4 10:47:12 PDT 2013


I compiled the plugin as a dll and it solved the issue. Thanks!


On Fri, Oct 4, 2013 at 11:23 AM, Sebastian Dröge
<slomo at circular-chaos.org>wrote:

> On Fr, 2013-10-04 at 10:59 -0400, Alexey wrote:
> > [...]
> >
> > So I added "gstplugin.c" and "gstplugin.h" to my Visual Studio project as
> > is. I noticed that “gstplugin.c” doesn’t have main function, what is the
> > program’s entry point then?
> >
> > When I try to build the sample plugin as is (I didn't change
> > templates "gstplugin.c" and "gstplugin.h") I get the following link
> error:
> >
> > >msvcrt.lib(crtexe.obj) : error LNK2001: unresolved external symbol main
>
> You'll have to compile it as an dll without a main function. It's not an
> executable, and will only have one symbol exported via the
> GST_PLUGIN_DEFINE() macro.
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131004/e5b17f32/attachment.html>


More information about the gstreamer-devel mailing list