I'm trying to develop an app to control my ATEM but am having difficulty getting started with the SDK
I get the following linking error:
- Code: Select all
error LNK2001: unresolved external symbol CLSID_CBMDSwitcherDiscovery
I think I have included all the required libraries etc as below
- Code: Select all
#include "include\BMDSwitcherAPI.h"
#include <cstdio>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include <conio.h>
#include <comutil.h>
#include <atlbase.h>
And my attempt to setup switcher discovery is direct from the sample code:
- Code: Select all
CComPtr<IBMDSwitcherDiscovery> switcherDiscovery;
HRESULT result;
result = switcherDiscovery.CoCreateInstance(CLSID_CBMDSwitcherDiscovery, NULL, CLSCTX_ALL);
if (result != S_OK)
{
fprintf(stderr, "A Switcher Discovery instance could not be created. The Switcher drivers may not be installed.\n");
}
Anyone got any suggestions or ideas to help here?