Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

How to build u2f-test/HID under Mac #171

Open
stephenwwu opened this issue Feb 15, 2018 · 4 comments
Open

How to build u2f-test/HID under Mac #171

stephenwwu opened this issue Feb 15, 2018 · 4 comments

Comments

@stephenwwu
Copy link

I try to build the code under Mac, but failed. What is the build environment requirements? Error message:

make: *** No rule to make target hidapi/mac/hid.c', needed by hid.o'. Stop.

@mschilder123
Copy link
Contributor

mschilder123 commented Feb 17, 2018 via email

@stephenwwu
Copy link
Author

I cloned both source codes side-by-side with u2f-ref-code already. It still can't find hid.c. What settings should I change to make it built?

@mschilder123
Copy link
Contributor

mschilder123 commented Feb 18, 2018 via email

@stephenwwu
Copy link
Author

It is not clear in the instruction. Cloning another repo to a subdirectory of another repo doesn't look like a good practice to me. How about add something like $(HIDAPI_PATH) in the make file, and remind user to set the path to the right location?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants