Home > OS >  Consult bosses about installing openocd error problem
Consult bosses about installing openocd error problem

Time:10-03

Unpack the openocd.zip
Sudo apt install libtool, PKG - config, libhidapi - dev, libusb++ - dev
Then
Sudo./configure -- -- enable - stlink
Then an error:
Configure: WARNING: libusb - 1 x is not found, trying legacy libusb - 0.1 as a fallback. Consider installing libusb - 1. Home x
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 cc-link JTAG Programmer
Baidu said no libusb - 0.1 library file
But

There is, obviously, that is why ask bosses to help solve I am autistic!

CodePudding user response:

Libusb source code, compiled the bai,

CodePudding user response:

Sudo atp - get the install libusb - 1. X
  • Related