<html>
  <body>
  
    <span class="xfm_3203074236">
  <p>Hi, Alexey.</p>
  <div>
    <br/></div>
  <div>May be you make an application instead of library?<br/><br/><div style="font-size: 0.9em; font-style: italic;"> --- Original message ---<br/> From: "Alexey" <<a href="mailto:aimaev@gmail.com" target="_self">aimaev@gmail.com</a>><br/>  Date: 4 October 2013, 17:59:45<br/></div> <br/><blockquote class="xfmc0" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><span class="xfmc1">
  <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>
</span>
<pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_self">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>

</pre></blockquote>   </div>
</span>
  
<img src="https://freemail.ukr.net/api/public/message_read?a=hKm-vMJPPHu7y5W_e502BHagZNI5H8_lWl1IfbjDIx-reyhD3M3c0-R0grqFdnb12D1sTrCb_ZvEhPhucv9pHGvdkSxiZJ8VzQSxSf-pSY2_gToGx84Z2HyWsqEn" alt="" />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </body>
</html>