libusb未找到mac os x 10.6.8 [英] libusb not found mac os x 10.6.8
问题描述
任何人都可以告诉我如何让我的编译器找到它正在寻找的libs。至于我可以告诉libs是应该在看的地方。
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
检查usb_init ... configure:错误:未找到libusb,使用./configure LIBUSB_LIBS = ...
checking for usb_init... configure: error: libusb not found, use ./configure LIBUSB_LIBS=...
into the config.log file
Below is what it dumped into the config.log file
Pastebin to config.log file
推荐答案
遇到同样的问题。从$ CFLAGS中删除了-arch i386,因为我只对x64版本感兴趣。工作像一个魅力!
Got the same problem. Removed the -arch i386 from the $CFLAGS, as I am only interested in the x64 version. Worked like a charm!
这篇关于libusb未找到mac os x 10.6.8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!