Closed tingox closed 1 year ago
@neverpanic implemented freebsd support for this library in commit 0a2753067d9bd9a25fcec3c7d29ebb649c928282. Unfortunately I myself have 0 experience working with FreeBSD (apart from OPNSense), but the error looks like it can not find libusb functions.
The fix might be as simple as adding pkg_config::probe_library("libusb").expect("Unable to find hidapi");
to the build.rs of hidapi.
Alternatively we can avoid using libusb_set_option on freebsd since its probably not needed anyway.
Note to myself: I really need to setup CI again...
We had multiple CI setups already, but all of them removed free tier / had some other problems.
Trying to install probe-run on FreeBSD, it fails on building hidapi crate
this is on
with latest hidapi installed
I'm very new to rust so I don't know any more info to add now. If there is any more info I can add to debug this, please let me know.