Hi, I am trying to build decklink (Blackmagic) plugin into windows using cerbero but I can't get any result../cerbero-uninstalled -c config/cross-win64 build gst-plugins-bad-1.0 Creating library file: .libs/libgstdecklink.dll.a I have checked that there were some changes to support decklink windows in the last months but I am not able to get it working. Am I doing something wrong? Is there any step I am not doing ok? Regards Felipe -- Juan Felipe Mogollón Rodríguez Researcher | Investigador Digital Media +[34] 943 30 92 30 [hidden email] www.vicomtech.org Member of IK4 Research Alliance and GraphicsMedia.net Legal Notice - Privacy policy (http://www.vicomtech.org/en/proteccion-datos) _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hello,
On Wed, Jul 12, 2017 at 6:50 PM, Felipe Mogollon <[hidden email]> wrote: > Hi, > > I am trying to build decklink (Blackmagic) plugin into windows using cerbero > but I can't get any result. > > I am using debian 8.0 as host machine > > I have made: > > ./cerbero-uninstalled -c config/cross-win64 bootstrap > ./cerbero-uninstalled -c config/cross-win64 build gst-plugins-bad-1.0 > > successfully but no libgstdecklink.dll is created. > > If I dive into gst-plugins-bad-1.0/sys/decklink folder I can see that there > is a Makefile that has been generated but It doesn't work. > If you want to compile things manually, you have to build from inside the cerbero environment: ./cerbero-uninstalled -c config/cross-win64 shell Then navigate to that location and do whatever you want to. > I have checked that there were some changes to support decklink windows in > the last months but I am not able to get it working. > > Am I doing something wrong? Is there any step I am not doing ok? > Sorry about that, I tested only the meson build files on Windows since I was testing the MSVC build. I then decided to also see if it can work with MinGW and patched it to work that way too. So, in the end, the Autotools build doesn't have decklink support on Windows. As a result, the Makefile that is generated won't work for Windows because it's not using the right sources. Let me cook up a patch for Autotools. Cheers, Nirbheek _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi, thanks for your aclarations, I have managed to build it using meson as you said: I explain how I did it just for info:Prerequisites: 1. Install MinGW 2. Install Perl3 4. Install glib for windows
5.Edit meson.build files to get only decklink build * Edit gst-plugins-bad mson.build and remove all subdir('xxx') except subdir('sys') * Edit sys/meson.build and keep only subdir('decklink') Building : 1. Execute Developer Command Line from Visual Studio 2015 2. Add C:\MinGW\bin and C:\MinGW\msys\1.0\bin to Developer Command Line Path set PATH=%PATH%; C:\MinGW\bin;C:\MinGW\msys\1. 3. Execute meson in your gst-plugins-bad folder: python3 C:\your_path_to_meson_0_41\ 4. Open the solution created in your build folder in Visual Studio 2015 5 Set Target Machine to win64 Your Solution->Your project->right button->properties->Linker-> 6 Buildhttp://mesonbuild.com/Using- http://blog.nirbheek.in/2016/ https://stackoverflow.com/ On Fri, Jul 14, 2017 at 10:31 AM, Nirbheek Chauhan <[hidden email]> wrote: Hello, -- Juan Felipe Mogollón Rodríguez Researcher | Investigador Digital Media +[34] 943 30 92 30 [hidden email] www.vicomtech.org Member of IK4 Research Alliance and GraphicsMedia.net Legal Notice - Privacy policy (http://www.vicomtech.org/en/proteccion-datos) _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |