Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Microsoft Visual Studio 2013,如何将外部库添加libusb到我的项目中?
libusb
libusb 将包含一个 LIB 文件、DLL 文件和头文件。您需要在源项目中包含 libusb 头文件。然后在您的项目设置下,您应该转到链接器部分并将 LIB 文件添加为链接对象。然后,只需确保在运行或调试时可执行文件可以访问您的 DLL。