I am trying to enable stlink by configuring openOCD. It is saying it cannot find my libusb-1.x file even though it is installed by virtue of installing openOCD as it is a dependency. I am not sure what to do
Here is the error:
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
This is my input:
./configure --enable-stlink
What can I do to fix this?
Thank you