Skip to content

Getting Decklink headers

RiCON edited this page Jun 10, 2016 · 2 revisions
  1. Download latest Desktop SDK from https://www.blackmagicdesign.com/support
  2. cd <extracted sdk dir>/Win/include
  3. widl -I/mingw64/x86_64-w64-mingw32/include -h -u DeckLinkAPI.idl
  • dos2unix DeckLinkAPI{,version}.h DecklinkAPI_i.c
  1. Get license from DeckLinkAPI.idl and paste it to the beginning of each resulting file or to a separate LICENSE file
  • sed -n '2,24 s/^\*\*//p' DeckLinkAPI.idl > DeckLinkAPI.LICENSE
  1. Copy DeckLinkAPI.h, DeckLinkAPIVersion.h and DeckLinkAPI_i.c to your /include dir or add their dir path to CFLAGS
Clone this wiki locally