Building decklink for windows using cerbero

Felipe Mogollon fmogollon at vicomtech.org
Wed Jul 12 13:20:23 UTC 2017


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.

It has several errors:

* Cannot find mingw compiler
* Cannot find pthread.h
* Cannot find dlfcn.h

I could solve those issues by adding my mingw compiler to PATH manually and
adding include paths to those headers manually to the Makefile file.

But when I run again make I get the following error:

Creating library file: .libs/libgstdecklink.dll.a
> .libs/libgstdecklink_la-gstdecklink.o: In function `init_devices':
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/gstdecklink.cpp:1012:
> undefined reference to `__imp_SysFreeString'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/gstdecklink.cpp:989:
> undefined reference to `IID_IDeckLinkOutput'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/gstdecklink.cpp:1027:
> undefined reference to `IID_IDeckLinkConfiguration'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/gstdecklink.cpp:1034:
> undefined reference to `IID_IDeckLinkAttributes'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/gstdecklink.cpp:952:
> undefined reference to `IID_IDeckLinkInput'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/gstdecklink.cpp:974:
> undefined reference to `__imp_SysFreeString'
> linux/.libs/libgstdecklink_la-DeckLinkAPIDispatch.o: In function
> `InitDeckLinkAPI':
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:58:
> undefined reference to `dlopen(char const*, int)'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:67:
> undefined reference to `dlsym(void*, char const*)'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:70:
> undefined reference to `dlsym(void*, char const*)'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:73:
> undefined reference to `dlsym(void*, char const*)'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:76:
> undefined reference to `dlsym(void*, char const*)'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:78:
> undefined reference to `dlerror()'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:69:
> undefined reference to `dlerror()'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:72:
> undefined reference to `dlerror()'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:75:
> undefined reference to `dlerror()'
> linux/.libs/libgstdecklink_la-DeckLinkAPIDispatch.o: In function
> `InitDeckLinkPreviewAPI':
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:85:
> undefined reference to `dlopen(char const*, int)'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:91:
> undefined reference to `dlsym(void*, char const*)'
> /home/VICOMTECH/fmogollon/trabajo/bideoakta/cerbero/build/sources/windows_x86_64/gst-plugins-bad-1.0-1.13.0.1/sys/decklink/linux/DeckLinkAPIDispatch.cpp:93:
> undefined reference to `dlerror()'
> collect2: error: ld returned 1 exit status
> Makefile:943: recipe for target 'libgstdecklink.la' failed
> make: *** [libgstdecklink.la] Error 1
>
>
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 30fmogollon at vicomtech.orgwww.vicomtech.org
Member of IK4 Research Alliance and GraphicsMedia.net
Legal Notice - Privacy policy (http://www.vicomtech.org/en/proteccion-datos)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170712/14cdb068/attachment.html>


More information about the gstreamer-devel mailing list