<div dir="ltr">I’m trying to write a Gstreamer plugin in Visual Studio 2010. <div><br></div><div>First, I downloaded GStreamer package for Windows from <a href="http://gstreamer.freedesktop.org/download/">http://gstreamer.freedesktop.org/download/</a>.<br>
<br>Then, I’ve added required property sheets and removed the dependency with the Visual Studio runtime as described in <a href="http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows">http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows</a>. I believe that my Visual Studio SDK is set up correctly because I successfully built some examples from Gstreamer Application Development Manual. <br>
<br>Now, my other goal is to write my own plugins. The Plugin Writer’s Guide describes how to construct the boilerplate in Unix/Linux. I've downloaded gst plugin templates from<br><br>git clone git://<a href="http://anongit.freedesktop.org/gstreamer/gst-tmeplate.git">anongit.freedesktop.org/gstreamer/gst-tmeplate.git</a><br>
<br>The guide makes use of make_element utility that creates the boilerplate. I followed the instructions but this utility doesn't work on Windows. <div><br></div><div>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? <br>
<br>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:<br><br>>msvcrt.lib(crtexe.obj) : error LNK2001: unresolved external symbol main<br>
<br>How can I write a Gstreamer plugin in Visual Studio? Also, How can I build it?  I'm struggling to find good instructions on how to do this. Thanks!</div></div></div>