Writing Gstreamer plugin in Visual Studio

Sebastian Dröge slomo at circular-chaos.org
Fri Oct 4 08:23:49 PDT 2013


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131004/565e28ae/attachment.pgp>


More information about the gstreamer-devel mailing list