-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake does not find installed HIDAPI on macOS #140
Comments
Hi @muellermartin ! Was your build working for you? |
To do:
|
I'm using hidapi stable 0.8.0-rc1 from Homebrew with my patch in PR #141 and the build works so far, although I did not test it extensively. As you mentioned, I didn't know that the upstream hidapi is known not to work because this is not documented in an obvious way.
Yes, I've successfully built libnitrokey with
If you want, I could also run the other tests. |
Thank you for the details! That is odd, I will check on my side. If you are interested, and have no own data on the Storage device yet, it would be helpful to run other tests as well. I am specifically interested in Python's Related: d-e-s-o/nitrocli#39 |
I only have a Nitrokey Storage 2, should I only run |
For Storage device, both |
As requested, here are the log files for the
Apparently there are only a few differences in the Note: I've created the log file with |
Thank you! It looks like indeed everything works on your side. I will update here once confirmed in my environment. |
You're welcome. I've already a Homebrew Formula ready, but with a patch for this issue, which from my experience will lead to rejection. Therefore I will wait with the submission of the Formula until this is confirmed and resolved. |
setup for the new ci server
When HIDAPI is installed externally (e.g. via a package manager like Homebrew:
brew install hidapi
) and the tarball of libnitrokey is used, the current version of theCMakeLists.txt
is not able to find this installation and fails with an error message like this:This is because the CMake script searches for
hidapi/mac/hid.c
(see CMakeLists.txt line 78) in the current directory.The text was updated successfully, but these errors were encountered: