我正在尝试通过配置 openOCD 来启用 stlink。它说它找不到我的 libusb-1.x 文件,即使它是通过安装 openOCD 安装的,因为它是一个依赖项。我不知道该怎么办
这是错误:
checking for LIBUSB1... no
configure: WARNING: libusb-1.x not found, trying legacy libusb-0.1 as
a fallback; consider installing libusb-1.x instead
checking for LIBUSB0... no
checking for HIDAPI... no
checking for HIDAPI... no
checking for HIDAPI... no
checking for LIBFTDI... no
checking for LIBFTDI... no
checking for LIBJAYLINK... no
configure: error: libusb-1.x is required for the ST-Link JTAG Programmer
这是我的输入:
./configure --enable-stlink
我能做些什么来解决这个问题?
谢谢