You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mentions that including hidapi into a repo for compiling should work via copying a single file /hid.c
Unfortunately you've misread the documentation. In fact:
you need to include a single source file into your project's build system
NOTE: the above doesn't guarantee that having a copy of /hid.c and hidapi/hidapi.h is enough to build HIDAPI. The only guarantee that /hid.c includes all necessary sources to compile it as a single file.
Hi!
https://github.com/libusb/hidapi/blob/master/BUILD.md#embedding-hidapi-directly-into-your-source-tree mentions that including hidapi into a repo for compiling should work via copying a single file /hid.c .
I tried for windows, but from what i experienced, i needed to add all .h and .c files from the windows folder.
Am i missing something or is this documentation simply outdated?
Thanks!
The text was updated successfully, but these errors were encountered: