libusb-win32

libusb-win32 is a port of the libusb-0.1 API for Windows with some additional asynchronous transfer support.

Latest version: 1.4.0

Add to xmake.lua

add_requires("libusb-win32 1.4.0")

Learn how to add and link packages with Xmake →

Information

License
LGPL-2.0-or-later
Recipe updated
2025-08-14T07:30:12.000Z

Platforms

  • msys: i386, x86_64
  • mingw: i386, x86_64, arm, arm64
  • windows: x86, x64, arm, arm64, arm64ec

Options

No configurable options.

Versions

  • 1.4.0

Dependencies

No dependencies declared.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "libusb-win32 1.4.0"

show info

xrepo info "libusb-win32"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("libusb-win32 1.4.0")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("libusb-win32")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "libusb-win32 1.4.0" shell