<div dir="ltr"><div dir="ltr">On Wed, Apr 22, 2020 at 4:56 AM Sameer Thigale <<a href="mailto:sameerthigale08@gmail.com">sameerthigale08@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello all, I see lot of unanswered questions on stackoverflow on how to create gstreamer plugin for Windows using Visual Studio. Can someone please provide detailed steps if there are already?</div></blockquote><div><br></div><div>Several ways:</div><div>1) meson, how the GStreamer project does it</div><div>2) Visual Studio property files provided by official GStreamer installers (<a href="https://gstreamer.freedesktop.org/documentation/installing/on-windows.html?gi-language=c">https://gstreamer.freedesktop.org/documentation/installing/on-windows.html?gi-language=c</a>)</div><div>3) CMake (how my project gst-plugins-vision does it, though I plan to move to meson eventually, <a href="https://github.com/joshdoe/gst-plugins-vision">https://github.com/joshdoe/gst-plugins-vision</a>)</div><div><br></div><div>I suggest starting with a plugin that is close to what you want, then modify it.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Additional question is: do we need to export any function when compiling DLL?</div></div></blockquote><div><br></div><div>Yes, gst_plugin_PLUGINNAME_get_desc andÂ
gst_plugin_PLUGINNAME_register, however those get defined for you by using GST_PLUGIN_DEFINE.</div><div><br></div><div>-Josh</div></div></div>