Upgrade libusb support to version 1.0
refola opened this issue · 7 comments
I'm trying to get the custom-class example code's computer-side program to compile on openSUSE 13.2, but I'm getting errors that usb.h cannot be found. Merely changing usb.h to libusb.h to match what's provided by openSUSE's libusb-1_0-devel package results in errors like "unknown type name ‘usb_dev_handle’".
On the libusb website, I found this quote: "libusb-0.1 is the original version which is deprecated and unmaintained since many years". Thus I expect that Linux distributions that haven't yet dropped libusb-0.1 development support will do so in near future releases.
As an alternative to directly upgrading to libusb-1.0, the libusb project has released a compatibility layer that can be used with libusb-0.1 projects to make them work with libusb-1.0. I think it might be possible to include this directly in the V-USB project, helping users of newer Linux distributions use V-USB without a bunch of workarounds to use a development version of an outdated version of some library.
Ei! Is this project abandoned??
Would someone please do this?
mmm. "https://github.com/De-Backer/Domotica" is on libusb-1.0. do a diff. on de code.
Sorry, I don't have much time to work on the project during the last couple of years. If you create a pull request and drop us a not on obdev support, I'll merge it. Or mail us the modified files. Anything which can be done quickly is OK.
whats the opendevice.o error 2 all about? Can you help,ime sure ive gcc installed and ive copyed the libusb.a etc any ideas,windows 7 thanks
Sorry, I don't have much time to work on the project during the last couple of years. If you create a pull request and drop us a not on obdev support, I'll merge it. Or mail us the modified files. Anything which can be done quickly is OK.
I updated the host tools and libraries to use libusb-1.0 and created pull request 25 to have the changes merged.
As requested above, obdev support was informed via the contact form on the website.