1、下载hidapi-master包后,运行./bootstrap,出现以下问题
autoreconf: Entering directory `.’
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
Can’t exec “aclocal”: No such file or directory at /usr/local/share/autoconf/Autom4te
解决办法:安装下载automake后,再执行即可。
a、apt-cyg install automake,此步要保证apt-cyg安装程序可用
b、在cygwin setup中安装
2、yt@DESKTOP-5JK89QM /cygdrive/c/hidapi-master
$ ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /usr/bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether make supports nested variables… yes
checking whether make supports the include directive… yes (GNU style)
checking for gcc… gcc
checking whether the C compiler works… yes
checking for