专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Wireless

编译蓝牙应用程序头文件找不到怎么处理

发布时间:2010-06-14 16:42:44 文章来源:www.iduyao.cn 采编人员:星星草
编译蓝牙应用程序头文件找不到怎么办?
请教各位大虾们:
  我写个蓝牙的小程序:
  #include <stdio.h>
  #include <stdlib.h>
  #include <unistd.h>
  #include <sys/socket.h>
  #include <bluetooth/bluetooth.h>
  #include <bluetooth/rfcomm.h>
。。。。
  编译时提示蓝牙的这两个头文件找不到怎么办?我用的系统是ubantu,搜索了下bluetooth这个 文件的位置是在: /usr/src/linux-headers-2.6.24-19/include/net/bluetooth,谢谢指点!

------解决方案--------------------
在makefile里面,将对应的文件路径加进去
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: