I needed to #include <decklink/LinuxCOM.h> in a C file to be compiled with gcc (not C++), in order to make a wrapper
for the Go language, via CGO. Go can call C functions, but not C++.
To accomplish this Go <-> C interoperation, the C code is compiled by gcc, and i got this error:
In file included from /usr/local/include/decklink.h:12:0,
from ./decklink.go:30:
/usr/local/include/decklink/LinuxCOM.h:51:9: error: unknown type name 'REFIID'
typedef REFIID CFUUIDBytes;
^~~~~~
Change line 51 in LinuxCOM.h from
typedef REFIID CFUUIDBytes;
to:
typedef struct REFIID CFUUIDBytes;
and gcc will happily compile it. g++ is fine with it too, this way.
Thanks for the Linux support! I am happily capturing 4K frames