<div dir="ltr">I compiled the plugin as a dll and it solved the issue. Thanks!<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 4, 2013 at 11:23 AM, Sebastian Dröge <span dir="ltr"><<a href="mailto:slomo@circular-chaos.org" target="_blank">slomo@circular-chaos.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fr, 2013-10-04 at 10:59 -0400, Alexey wrote:<br>
> [...]<br>
<div class="im">><br>
> So I added "gstplugin.c" and "gstplugin.h" to my Visual Studio project as<br>
> is. I noticed that “gstplugin.c” doesn’t have main function, what is the<br>
> program’s entry point then?<br>
><br>
> When I try to build the sample plugin as is (I didn't change<br>
> templates "gstplugin.c" and "gstplugin.h") I get the following link error:<br>
><br>
> >msvcrt.lib(crtexe.obj) : error LNK2001: unresolved external symbol main<br>
<br>
</div>You'll have to compile it as an dll without a main function. It's not an<br>
executable, and will only have one symbol exported via the<br>
GST_PLUGIN_DEFINE() macro.<br>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div></div>