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
android-tools 35.0.2 fails to compile with libusb 1.0.27.
android-tools/vendor/adb/client/usb_libusb.cpp:539:46: error: ‘libusb_ssplus_usb_device_capability_descriptor’ has not been declared
539 | static uint64_t ExtractMaxSuperSpeedPlus(libusb_ssplus_usb_device_capability_descriptor* cap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
android-tools/vendor/adb/client/usb_libusb.cpp: In static member function ‘static uint64_t
I don't maintain android-tools package for any distros. nmeum maintains it for Alpine so you could ask him for his opinion. FWIW some distros have strong policy to link to distro libraries, so they might do (3) in their build system even if you do (2), or they might cherry-pick the libusb commit.
Nice idea. The cmake file could have an option to choose bundled libusb or system one. That can also be done with fmt library. I am planning to do a minor release with the modifications.
android-tools 35.0.2 fails to compile with libusb 1.0.27.
The above code was added in this adb commit https://android.googlesource.com/platform/packages/modules/adb.git/+/bb1d542466bfe7675022bec7345cbfdad0354d84%5E%21/
It depends on the this libusb commit libusb/libusb@f00f06e
What should be done to fix the issue? Possible solution:
(I prefer no.2)
@omasanori @Arnavion
The text was updated successfully, but these errors were encountered: