Was having the similar issues with windows builds in Go.
As I did not find this easy to figure out I will be a little verbose here to ensure what works for me is clear for the novice that stumbles across this post.
Windows 10 X64
#lib-usb-1.0.pc
prefix=/mingw64
exec_prefix=${prefix}
libdir=${exec_prefix}/x86_64-w64-mingw32/lib
includedir=${prefix}/include
Name: libusb-1.0
Description: C API for USB device access from Linux, Mac OS X, Windows, OpenBSD/NetBSD and Solaris userspace
#update version to match
Version: 1.0.23
Libs: -L${libdir} -llibusb-1.0
Libs.private:
Cflags: -I${includedir}/libusb-1.0
- create directory
/mingw64/include/libusb-1.0
- download correct version of libusb.h and extract to
/mingw64/include/libusb-1.0/libusb.h