google / u2f-ref-code

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

How to build u2f-tests under Windows #169

Open stephenwwu opened 6 years ago

stephenwwu commented 6 years ago

I tried to build u2f-test/HID under Windows 10, but failed. Error message:

nmake -f Makefile.win

Microsoft (R) Program Maintenance Utility Version 14.12.25835.0 Copyright (C) Microsoft Corporation. All rights reserved.

NMAKE : fatal error U1073: don't know how to make 'hidapi/windows/hid.c' Stop.

The computer didn't install any Windows development tools before. The README file contains too little information about the build environment. I install Visual Studio in order to get nmake.exe. However, there are missing source codes.