Yid*_*ing 38 c linux bluetooth bluez ibeacon
我想基于BlueZ构建ac文件,但在我的系统中似乎没有bluetooth.h文件.
fatal error: bluetooth/bluetooth.h: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我确信蓝牙加密狗运行正常,我已经成功构建了Bluez.
更新
对于我的情况,我在/ user/include/bluetooth文件夹中找到bluetooth.h
Rah*_*obi 70
您需要安装libbluetooth-dev包来编译代码
sudo apt-get install libbluetooth-dev
Run Code Online (Sandbox Code Playgroud)
那应该安装蓝牙头文件.
| 归档时间: |
|
| 查看次数: |
41235 次 |
| 最近记录: |