Open GrantEdwards opened 1 year ago
Ah, I think I've got it: mspdebug depends on the old legacy libusb 0.1 API. To build on a "modern" Linux distro, you can use libusb-compat to provide backwards-compatibility for applications that expect that API. I should send a pull request to add that info to the README...
$ equery files libusb-compat
* Searching for libusb-compat ...
* Contents of dev-libs/libusb-compat-0.1.5-r3:
/lib64
/lib64/libusb-0.1.so.4 -> libusb-0.1.so.4.4.4
/lib64/libusb-0.1.so.4.4.4
/usr
/usr/bin
/usr/bin/libusb-config -> x86_64-pc-linux-gnu-libusb-config
/usr/bin/x86_64-pc-linux-gnu-libusb-config
/usr/include
/usr/include/usb.h
/usr/lib64
/usr/lib64/libusb.so
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/libusb.pc
/usr/share
/usr/share/doc
/usr/share/doc/libusb-compat-0.1.5-r3
/usr/share/doc/libusb-compat-0.1.5-r3/AUTHORS
/usr/share/doc/libusb-compat-0.1.5-r3/ChangeLog.bz2
/usr/share/doc/libusb-compat-0.1.5-r3/NEWS.bz2
/usr/share/doc/libusb-compat-0.1.5-r3/README.bz2
Update to README.txt in pull request 120
Where does usb.h come from?
libusb 1.0.26 is installed, but the only include file it provides is libusb.h: