USB Programming with Qt

て烟熏妆下的殇ゞ 提交于 2019-11-29 02:43:08

There's another good instruction for libusb here: http://www.dreamincode.net/forums/topic/148707-introduction-to-using-libusb-10/

If you stay on windows you can use

For windows you can use both, but if your program has to be cross-platform you should use libusb.

ollo's answer is out of date. TL;DR is use libusb.info. A bit of explanation:

Originally there was libusb-0.1. Later they updated the API to libusb-1.0, but since libusb-0.1 had been around so long many projects didn't bother switching (kind of like Python 2/3). libusb-0.1 was not available for Windows, but libusb-1.0 is now available for all major platforms.

libusb-win32 is a port of libusb-0.1 to Windows. You shouldn't use it for new code.

libusb.org is the old website for libusb. The latest release is from 2012 and there are no Windows downloads.

libusb.info is the current website for libusb. It contains libusb-1.0 downloads for all platforms and you should use this for new code.

To further confuse things, the sourceforge libusb-win32 mailing list is still used for libusb.info's development.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!