<div dir="ltr"><div><div>Hi,<br><br></div>thanks for your aclarations, I have managed to build it using meson as you said: I explain how I did it just for info:<br><br><br><div>Prerequisites:<br><br></div><div>1. Install MinGW<br></div><div>2. Install Perl3<br></div><div>4. Install glib for windows<br></div><div> <br><ol><li>go to <a href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/" rel="noreferrer" target="_blank">http://ftp.gnome.org/pub/<wbr>gnome/binaries/win32/<wbr>dependencies/</a></li><li>download the file <a href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip" rel="noreferrer" target="_blank">pkg-config_0.26-1_win32.zip</a></li><li>extract the file bin/pkg-config.exe to C:\MinGW\bin</li><li>download the file <a href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime_0.18.1.1-2_win32.zip" rel="noreferrer" target="_blank">gettext-runtime_0.18.1.1-2_<wbr>win32.zip</a></li><li>extract the file bin/intl.dll to C:\MinGW\bin</li><li>go to <a href="http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28" rel="noreferrer" target="_blank">http://ftp.gnome.org/pub/<wbr>gnome/binaries/win32/glib/2.28</a></li><li>download the file <a href="http://ftp.acc.umu.se/pub/gnome/binaries/win32/glib/2.28/glib_2.28.8-1_win32.zip" rel="noreferrer" target="_blank">glib_2.28.8-1_win32.zip</a></li><li>extract the file bin/libglib-2.0-0.dll to C:\MinGW\bin</li></ol><p>5.Edit meson.build files to get only decklink build</p><p>   * Edit gst-plugins-bad mson.build and remove all subdir('xxx') except subdir('sys')</p><p>   * Edit sys/meson.build and keep only subdir('decklink')</p><p><br></p><p>Building :<br></p></div><div><br></div><div>1. Execute Developer Command Line from Visual Studio 2015<br></div><div>2. Add C:\MinGW\bin and C:\MinGW\msys\1.0\bin to Developer Command Line Path<br></div><div>   set PATH=%PATH%; C:\MinGW\bin;C:\MinGW\msys\1.<wbr>0\bin<br></div><div>3. Execute meson in your gst-plugins-bad folder:<br>    python3 C:\your_path_to_meson_0_41\<wbr>meson.py build --backend vs2015<br></div><div>4. Open the solution created in your build folder in Visual Studio 2015<br></div><div>5 Set Target Machine to win64<br></div><div>   Your Solution->Your project->right button->properties->Linker-><wbr>advanced->Target Machine->MachineX64<br></div>6 Build<br><br><br><a href="http://mesonbuild.com/Using-with-Visual-Studio.html" target="_blank">http://mesonbuild.com/Using-<wbr>with-Visual-Studio.html</a><br><a href="http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html" target="_blank">http://blog.nirbheek.in/2016/<wbr>07/building-and-developing-<wbr>gstreamer-using.html</a><br><a href="https://stackoverflow.com/questions/1710922/how-to-install-pkg-config-in-windows" target="_blank">https://stackoverflow.com/<wbr>questions/1710922/how-to-<wbr>install-pkg-config-in-windows</a><br><br></div>Felipe<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 14, 2017 at 10:31 AM, Nirbheek Chauhan <span dir="ltr"><<a href="mailto:nirbheek.chauhan@gmail.com" target="_blank">nirbheek.chauhan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<span class=""><br>
On Wed, Jul 12, 2017 at 6:50 PM, Felipe Mogollon<br>
<<a href="mailto:fmogollon@vicomtech.org">fmogollon@vicomtech.org</a>> wrote:<br>
> Hi,<br>
><br>
> I am trying to build decklink (Blackmagic) plugin into windows using cerbero<br>
> but I can't get any result.<br>
><br>
> I am using debian 8.0 as host machine<br>
><br>
> I have made:<br>
><br>
> ./cerbero-uninstalled -c config/cross-win64 bootstrap<br>
> ./cerbero-uninstalled -c config/cross-win64 build gst-plugins-bad-1.0<br>
><br>
> successfully but no libgstdecklink.dll is created.<br>
><br>
> If I dive into gst-plugins-bad-1.0/sys/<wbr>decklink folder I can see that there<br>
> is a Makefile that has been generated but It doesn't work.<br>
><br>
<br>
</span>If you want to compile things manually, you have to build from inside<br>
the cerbero environment:<br>
<br>
./cerbero-uninstalled -c config/cross-win64 shell<br>
<br>
Then navigate to that location and do whatever you want to.<br>
<span class=""><br>
> I have checked that there were some changes to support decklink windows in<br>
> the last months but I am not able to get it working.<br>
><br>
> Am I doing something wrong? Is there any step I am not doing ok?<br>
><br>
<br>
</span>Sorry about that, I tested only the meson build files on Windows since<br>
I was testing the MSVC build. I then decided to also see if it can<br>
work with MinGW and patched it to work that way too. So, in the end,<br>
the Autotools build doesn't have decklink support on Windows.<br>
<br>
As a result, the Makefile that is generated won't work for Windows<br>
because it's not using the right sources. Let me cook up a patch for<br>
Autotools.<br>
<br>
Cheers,<br>
Nirbheek<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><pre>Juan Felipe Mogollón Rodríguez
Researcher | Investigador
Digital Media
+[34] 943 30 92 30
<a href="mailto:fmogollon@vicomtech.org" target="_blank">fmogollon@vicomtech.org</a>
<a href="http://www.vicomtech.org" target="_blank">www.vicomtech.org</a>
Member of IK4 Research Alliance and GraphicsMedia.net
Legal Notice - Privacy policy (<a href="http://www.vicomtech.org/en/proteccion-datos" target="_blank">http://www.vicomtech.org/en/proteccion-datos</a>)
</pre></div></div></div>
</div>