解壓完openocd.zip
sudo apt install了libtool,pkg-config,libhidapi-dev,libusb++-dev
然后
sudo ./configure --enable-stlink
之后就報錯了:
configure: WARNING: libusb-1.x not found, trying legacy libusb-0.1 as a fallback; consider installing libusb-1.x instead
checking for LIBUSB0... yes
checking for HIDAPI... no
checking for HIDAPI... yes
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
百度了說是沒有libusb-0.1的庫檔案
可是

明明就有。。這是為什么 請大佬幫忙解決 我要自閉了!
uj5u.com熱心網友回復:
下libusb原始碼,編下唄。uj5u.com熱心網友回復:
sudo atp-get install libusb-1.x轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/105872.html
標籤:非技術區
上一篇:請求解答WNetUserConnectionA 回傳錯誤碼3
下一篇:os破解版idl
