This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 181
How to build u2f-test/HID under Mac #171
Comments
see DEPENDENCIES in the README
git clone https://github.com/signal11/hidapi
git clone -b lollipop-release
https://android.googlesource.com/platform/system/core
…On Thu, Feb 15, 2018 at 3:25 PM, stephenwwu ***@***.***> wrote:
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 byhid.o'. Stop.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#171>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFpd9AluAlEToJ7Qw_U4mY7j_nD9_NK-ks5tVLzmgaJpZM4SHqtk>
.
|
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? |
Run the git clone commands in the HID subdirectory; the super simplistic
Makefile assumes these as subdirectories thereof. Or modify the Makefile to
look for these sources where you put them.
…On Sat, Feb 17, 2018 at 3:51 PM, stephenwwu ***@***.***> wrote:
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?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#171 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFpd9ABP19XGLka-WyZsZwVRKqmnXTPzks5tV2XwgaJpZM4SHqtk>
.
|
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.
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.The text was updated successfully, but these errors were encountered: