Hello! When compiling /Applications/ndiBasicExample.cxx (renamed to .cpp), I encounter the following compilation errors (Apple clang version 14.0.0, x86-64, macOS 12.5):
-
ndiBasicExample.cpp:30:51: error: variable 'checkDSR' cannot be implicitly captured in a lambda with no capture-default specified
int errnum = ndiSerialProbe(devName.c_str(),checkDSR);
^
-
ndiBasicExample.cpp:47:13: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'
char* devicename = ndiSerialDeviceName(i);
^ ~~~~~~~~~~~~~~~~~~~~~~
-
ndiBasicExample.cpp:70:5: error: no matching function for call to 'ParallelProbe'
ParallelProbe(device,argc > 1 ? argv[1]: 0, checkDSR);
^~~~~~~~~~~~~
ndiBasicExample.cpp:14:6: note: candidate function not viable: requires 2 arguments, but 3 were provided
bool ParallelProbe(ndicapi*& outDevice, bool checkDSR)
^
While I see that ParallelProbe is technically only supposed to be compiled (i.e., supported) on MSVC 1700 (v11.0) or higher, wanted to try to adapt and compile it for my Mac.
Hello! When compiling
/Applications/ndiBasicExample.cxx(renamed to.cpp), I encounter the following compilation errors (Apple clang version 14.0.0, x86-64, macOS 12.5):While I see that
ParallelProbeis technically only supposed to be compiled (i.e., supported) on MSVC 1700 (v11.0) or higher, wanted to try to adapt and compile it for my Mac.