蓝牙相关资料·

蓝牙的WIKI参考地址是https://wiki.archlinux.org/index.php/Bluetooth_(简体中文)    

这里有详尽的蓝牙软件资料

 

编译bluez-5.43 遇到的问题点

configure: error: GLib >= 2.28 is required

解决方法:
一般glib会被安装,主要是一些开发文件,如头文件被安装,ubuntu如下解决:

sudo apt-get install  libglib2.0-dev

configure: error: D-Bus >= 1.6 is required

解决方法:
下载https://dbus.freedesktop.org/releases/dbus/
dbus-1.8.0.tar.gz

./configure –prefix=/usr
make
make install

如果报错比如

WARNING: 'automake-1.14' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         
         
         


可以对自动工具进行配置,输入autoreconf -ivf 参考链接https://blog.csdn.net/arackethis/article/details/42222905

 

再编译dbus就可以了

 

configure: error: libudev >= 143 is required
解决方法:
sudo apt-get install libudev-dev


configure: error: libical is required
解决方法:
sudo apt-get install libical-dev


configure: error: readline header files are required
解决方法:
 sudo apt-get install libreadline-dev
 

./configure --prefix=/media/sf_vmshare/bluez-5.43/output

make && make install

 

 

你可能感兴趣的:(开发积累知识点)