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
これを修正するにはどうすればよいですか?
ありがとうございました