0
我試圖通過配置openOCD來啓用stlink。它說它找不到我的libusb-1.x文件,即使它是通過安裝openOCD來安裝的,因爲它是一個依賴項。我不知道該怎麼做未能在openOCD中啓用stlink
以下是錯誤:
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
我能做些什麼來解決這個問題?
謝謝