Building custom plugin in Windows

Nicolas Dufresne nicolas at ndufresne.ca
Thu May 16 13:31:46 UTC 2019


Le jeu. 16 mai 2019 09 h 25, priyanka kataria <priyanka.kataria86 at gmail.com>
a écrit :

> Hi Ray,
>
> Thank you for the quick reply.
>
> But this doesn’t resolve my issue, I am still getting the same error.
>
> I also checked the dump of my dll and the names were not mangled.
>
> Shall I try using cerbero for this?
>

Then make sure that the name of the DLL matches the plugin name. GStreamer
uses dynamic plugin entry point which are deduced from file names.


> Thanks,
> Priyanka Kataria
>
> On Thu, 16 May 2019 at 5:41 PM, Ray Tiley <raytiley at gmail.com> wrote:
>
>>
>>
>> On Thu, May 16, 2019 at 5:20 AM priyanka kataria <
>> priyanka.kataria86 at gmail.com> wrote:
>>
>>> Hello,
>>>>
>>>> I have built a custom plugin using “Constructing the boilerplate“
>>>> instructions.
>>>>
>>>> The plugin builds and works successfully in Linux environment.
>>>>
>>>> Then, I take the C source and header file to Windows and try to build
>>>> using Visual Studio 2015 which has been setup as per the steps in
>>>> “Installing on Windows” gstreamer tutorial.
>>>>
>>>> The build completes but the plugin cannot be found whatever path I set.
>>>> Finally, I have copied the “custom.dll” in <gstreamer-1.0>\lib
>>>> directory. Then, I noticed that   “libcustom.lib” which should be placed
>>>> under <gstreamer-1.0>\lib\gstreamer-1.0 directory, is not created in Visual
>>>> Studio build.
>>>>
>>>> Is this the cause of plugin not being found?
>>>>
>>>> Please share the steps if anybody has built a custom plugin in Windows.
>>>>
>>>
>> You could be running into this issue I reported yesterday:
>> https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/401
>>
>>
>>>
>>>> Regards,
>>>> Priyanka Kataria
>>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190516/5b9a0332/attachment-0001.html>


More information about the gstreamer-devel mailing list