In the hidapi.h file, you need to correct the line ` #define HID_API_EXPORT __declspec(dllexport)` delete or comment `__declspec(dllexport)`