I have a Teensy4.1 board, which is an Arduino. On windows, I use the tool Arduino 1.8.13 to compile the C code. I've loaded the library phidget21 and I have included the library.
The code is:
CPhidgetSpatialHandle spatial = 0;
result = CPhidget_waitForAttachment((CPhidgetSpatialHandle)spatial, 10000);
When I compile, I get the error 'CPhidgetSpatial_create' was not declared in this scope.
Any idea why?