configure error libusb headers missing

I got the below error while trying to build libnfc on a mac running mountain lion.

configure: error: The libusb headers are missing

I first checked if libusb what installed with macports. That was OK so I kept looking. Turned out I needed the libusb-legacy package instead.

sudo port install libusb-legacy

Leave a Reply

Your email address will not be published. Required fields are marked *

Please reload

Please Wait