google / u2f-ref-code

U2F reference implementations
BSD 3-Clause "New" or "Revised" License
585 stars 182 forks source link

How to build the u2f_nfc_test on macOS. #164

Open bw1213 opened 7 years ago

bw1213 commented 7 years ago

I tried build u2f_nfc_test on macOS.

Result:

$ make gcc -c -Wall -o u2f_nfc_util.o u2f_nfc_util.c u2f_nfc_util.c:17:10: fatal error: 'winscard.h' file not found

include

     ^

1 error generated. make: *** [u2f_nfc_util.o] Error 1

I think, I don't have pcsclite-dev package on macOS. But I didn't find pcsclite-dev for macOS.

How can I build to complete on my mac.