You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[compatibility] Linux: Selecting the correct libusb version #113
This started as an issue, but the fix is easy so I figured I'd post it here because I don't know where it should go.
In Fedora there are 2 libusb versions, libusb and libusb1. stlink depends on libusb1 so Fedora users (and possibly other distros) just need to install that, 'yum install libusb1-devel', and then stlink should compile fine.
For all you googlers the error if you just have libusb is:
checking for USB... no
configure: error: *** Required libusb-1.0 >= 1.0.0 not installed ***
Activity
Nightwalker-87 commentedon Mar 22, 2020
Related to #211 and #782.
2 remaining items
[-]Fedora Linux: Selecting the correct libusb version[/-][+]Linux: Selecting the correct libusb version[/+]Nightwalker-87 commentedon Mar 23, 2020
As of today this also applies to several linux/unix distributions namely:
Other relevant distributions appear to have packages named
libusb-compat-0.1or alike to distinguish fromlibusbpackages based on version 1.0.x.Updated /doc/compiling.md (Closes #113)
Nightwalker-87 commentedon Mar 23, 2020
Closed by 10ae529.
[-]Linux: Selecting the correct libusb version[/-][+][compatibility] Linux: Selecting the correct libusb version[/+]Updated /doc/compiling.md (Closes stlink-org#113)
Updated /doc/compiling.md (Closes stlink-org#113)
Updated /doc/compiling.md (Closes stlink-org#113)