有没有C ++跨平台USB库? [英] Is there a C++ cross platform USB library?
问题描述
我(即将)在Qt中编写一个将在3个主要操作系统(Windows,Linux和Mac)上运行的应用程序。这个应用程序的一个特点是,它需要USB来谈一个自定义外部硬件。是否有跨平台USB库可用?
I'm (going to be) writing an application in Qt that will run on the 3 main OSes (Windows, Linux and Mac). One of the features of this app is that it needs USB to talk to a piece of custom external hardware. Is there a cross-platform USB library available?
推荐答案
支持的操作系统:Linux,
FreeBSD,NetBSD,OpenBSD,Darwin,
MacOS X(和Windows,通过
libusb-win32项目)。
Supported operating systems: Linux, FreeBSD, NetBSD, OpenBSD, Darwin, MacOS X (and Windows, through the libusb-win32 project).
注意它在Windows上使用 libusb0.sys
内核模式驱动程序,它不是WHQL认证的,它可能是64位Windows 7和Windows Server 2008 R2中的问题。 对不起, libusb0.sys
的版本1.2.0.0已进行数字签名。
But you should note that it uses Sorry, version 1.2.0.0 of libusb0.sys
kernel-mode driver on Windows, which is not WHQL certified and it could be a problem in 64-bit Windows 7 and Windows Server 2008 R2.libusb0.sys
is digitally signed.
这篇关于有没有C ++跨平台USB库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!