libusb not found mac os x 10.6.8

早过忘川 提交于 2019-12-25 00:38:02

问题


Can anybody tell me how to make my compiler find the libs that it is looking for. As far as I can tell the libs are where it is supposed to be looking. Perhaps there is a mac pro out there that will know how to get around this.

Below is the error that is causing the configuration fail

checking for usb_init... configure: error: libusb not found, use ./configure LIBUSB_LIBS=...

Below is what it dumped into the config.log file

Pastebin to config.log file


回答1:


Got the same problem. Removed the -arch i386 from the $CFLAGS, as I am only interested in the x64 version. Worked like a charm!




回答2:


As far as I know, does OS/X not bring a libusb by default. You will need to install one e.g. from MacPorts



来源:https://stackoverflow.com/questions/8540311/libusb-not-found-mac-os-x-10-6-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!