Until now, I’ve always used the handy packages over at http://www.ellert.se/PKGS/libusb-2009-09-10/ to install libusb on the mac. But the new MacMini comes with Lion, and surprise: the 10.6 installer does not work on 10.7.
I have set the PKGCONFIGPATH environment variable to where the libusb.h is located but my make still fails with: Package libusb-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libusb-1.0.pc' to the PKGCONFIGPATH environment variable No package 'libusb. Get latest updates about Open Source Projects, Conferences and News. Sign Up No, Thank you.
It works with applications supporting the TWAIN specification, which includes most applications on Mac OS X that handles images. However using it with Apple‘s Image Capture application has become increasingly tricky with every version of Mac OS X. Libusb version 0.1.13 beta, 2016-11-02. Compiled for macOS 10.9 or later; Stop building SDK.
But the nice guys over at ellert.se include the sources with a build script that not only compiles libusb but also generates an installer package. So after waiting some hours for the newest XCode to download from the App Store to my fresh Lion install, it was as easy as to type
./build.sh
in the source directory (after adding a 10.7 option in the build script)Libusb Mac Os X 10.9
et voilà a working installer for Lion. Thanks guys!
Libusb Mac Os X Download
For your convenience, you can download libusb 2009-09-10 for Lion here: