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.
At the LibUSB site there is version 1.0.x According to LibUSB site 0.1.x & 1.0.x are not compatible & Daniel Drake adopted the project in January 2008 and worked on a libusb-1.0 release, which adds several features that were missing from the 0.1 API. As of December 2008, libusb-1.0 is the stable and recommended version to use. Update 2011/02/02: In trying to port pylibftdi to Python3, I found that the libraries which get built following the instructions below are 64-bit. All well and good, but the Python3.1 installation on Mac OS X 10.6 is 32-bit only (unlike the Python2.6 install). While it's possible to get both 32-bit and 64-bit universal libraries, I haven't tried that yet.
![Libusb For Mac Os X Libusb For Mac Os X](/uploads/1/2/6/4/126453446/464708510.jpg)
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 For Mac Os X 10.10
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: