Page 1 of 1

SDK 11.7 / 11.6 DeckLinkAPI.idl mingw64 widl error

PostPosted: Mon Dec 14, 2020 7:39 pm
by Trilec
Dear Blackmagic, hopefully the technicians or someone out there knows.

Errors When using a MSYS2 shell and mingw64 trying to convert the DeckLinkAPI.idl with widl

This started at version 11.6 and 11.7 , 11.5 works

/projects/3rdparty/Blackmagic-DeckLink-SDK-11.7/Win/include
$ widl -h -u -o DeckLinkAPI.h "D:/MSYS2/projects/3rdparty/Blackmagic-DeckLink-SDK-11.7/Win/include/DeckLinkAPI.idl"
D:/MSYS2/projects/3rdparty/Blackmagic-DeckLink-SDK-11.7/Win/include/DeckLinkAPI_v11_5_1.idl:90: error: syntax error, unexpected $undefined, expecting tTYPEDEF

/projects/3rdparty/Blackmagic-DeckLink-SDK-11.6/Win/include
$ widl -h -u -o DeckLinkAPI.h "./DeckLinkAPI.idl"
./DeckLinkAPI_v11_5_1.idl:90: error: syntax error, unexpected $undefined, expecting tTYPEDEF

Re: SDK 11.7 / 11.6 DeckLinkAPI.idl mingw64 widl error

PostPosted: Mon Dec 14, 2020 10:28 pm
by Cameron Nichols
Hi Curtis,

Thanks for raising this issue. I was able to resolve by adding a newline at the end of DeckLinkAPI_v11_5_1.idl.

Regards
Cameron