我一直期待着在我的Mac上使用wiiuse库。在尝试安装库时,当使用make进行编译时,我被告知:
>make wiiuse
gcc -Wall -pipe -fPIC -funroll-loops -O2 -I. -c classic.c -o release-x86_64-apple-darwin15.4.0/classic.o
In file included from classic.c:43:
./wiiuse_internal.h:49:11: fatal error: 'bluetooth/bluetooth.h' file not found
#include <bluetooth/bluetooth.h>
^
1 error generated.
make[1]: *** [release-x86_64-apple-darwin15.4.0/classic.o] Error 1
make: *** [wiiuse] Error 2我在Ubuntu上的朋友用sudo apt-get install libbluetooth-dev解决了这个问题,但我在Mac上找不到任何东西。如果您对如何在mac上安装wiiuse或libbluetooth-dev有任何想法,请提前感谢您的帮助
发布于 2016-07-06 21:17:53
我一直在寻找同样的东西,偶然发现这个网站说它在OSX上不可用,但不确定它是不是官方的:http://rosindex.github.io/d/libbluetooth-dev/
https://stackoverflow.com/questions/37008417
复制相似问题