Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade libusb support to version 1.0 #8

Open
refola opened this issue Jan 2, 2015 · 7 comments
Open

Upgrade libusb support to version 1.0 #8

refola opened this issue Jan 2, 2015 · 7 comments

Comments

@refola
Copy link

refola commented Jan 2, 2015

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.

@q2dg
Copy link

q2dg commented Oct 18, 2015

Ei! Is this project abandoned??

@DavidGriffith
Copy link

Would someone please do this?

@De-Backer
Copy link

mmm. "https://github.com/De-Backer/Domotica" is on libusb-1.0. do a diff. on de code.

@starkjohann
Copy link
Contributor

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.

@dunk8888
Copy link

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

@tickelton
Copy link
Contributor

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.

@tickelton
Copy link
Contributor

The update to libusb-1.0 was merged in aff0af2.
So this should be solved now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants