ps3手柄连Linux,树莓派连接 Dualshock3(ps3手柄)
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
root@raspberrypi:/home/pi/tools/QtSixA-1.5.1/sixad# make
mkdir -p bins
g++ -O2 -Wall -Wl,-Bsymbolic-functions sixad-bin.cpp bluetooth.cpp shared.cpp textfile.cpp -o bins/sixad-bin `pkg-config --cflags --libs bluez` -lpthread -fpermissive
sixad-bin.cpp: In function ‘int main(int, char**)’:
sixad-bin.cpp:84:20: warning: taking address of temporary [-fpermissive]
sixad-bin.cpp:89:18: error: ‘close’ was not declared in this scope
sixad-bin.cpp:100:20: error: ‘sleep’ was not declared in this scope
sixad-bin.cpp:109:22: error: ‘close’ was not declared in this scope
sixad-bin.cpp:117:22: error: ‘close’ was not declared in this scope
sixad-bin.cpp:140:18: error: ‘close’ was not declared in this scope
sixad-bin.cpp:144:14: error: ‘close’ was not declared in this scope
bluetooth.cpp: In function ‘void do_connect(int, bdaddr_t*, bdaddr_t*, int)’:
bluetooth.cpp:104:30: error: ‘close’ was not declared in this scope
bluetooth.cpp:110:24: error: ‘dup2’ was not declared in this scope
bluetooth.cpp:111:22: error: ‘close’ was not declared in this scope
bluetooth.cpp: In function ‘int l2cap_listen(const bdaddr_t*, short unsigned int, int, int)’:
bluetooth.cpp:148:17: error: ‘close’ was not declared in this scope
bluetooth.cpp:162:17: error: ‘close’ was not declared in this scope
bluetooth.cpp: In function ‘void l2cap_accept(int, int, int, int, int)’:
bluetooth.cpp:195:26: error: ‘close’ was not declared in this scope
bluetooth.cpp:201:26: error: ‘close’ was not declared in this scope
bluetooth.cpp:221:26: error: ‘fork’ was not declared in this scope
bluetooth.cpp:228:32: error: ‘dup2’ was not declared in this scope
bluetooth.cpp:229:30: error: ‘close’ was not declared in this scope
bluetooth.cpp:242:57: error: ‘execve’ was not declared in this scope
bluetooth.cpp:254:26: error: ‘close’ was not declared in this scope
bluetooth.cpp: In function ‘int l2cap_connect(bdaddr_t*, bdaddr_t*, short unsigned int)’:
bluetooth.cpp:274:25: error: ‘close’ was not declared in this scope
bluetooth.cpp:291:25: error: ‘close’ was not declared in this scope
Makefile:10: recipe for target 'sixad_bins' failed
make: *** [sixad_bins] Error 1
root@raspberrypi:/home/pi/tools/QtSixA-1.5.1/sixad# makemkdir -p binsg++ -O2 -Wall -Wl,-Bsymbolic-functions sixad-bin.cpp bluetooth.cpp shared.cpp textfile.cpp -o bins/sixad-bin `pkg-config --cflags --libs bluez` -lpthread -fpermissivesixad-bin.cpp: In function ‘int main(int, char**)’:sixad-bin.cpp:84:20: warning: taking address of temporary [-fpermissive]sixad-bin.cpp:89:18: error: ‘close’ was not declared in this scopesixad-bin.cpp:100:20: error: ‘sleep’ was not declared in this scopesixad-bin.cpp:109:22: error: ‘close’ was not declared in this scopesixad-bin.cpp:117:22: error: ‘close’ was not declared in this scopesixad-bin.cpp:140:18: error: ‘close’ was not declared in this scopesixad-bin.cpp:144:14: error: ‘close’ was not declared in this scopebluetooth.cpp: In function ‘void do_connect(int, bdaddr_t*, bdaddr_t*, int)’:bluetooth.cpp:104:30: error: ‘close’ was not declared in this scopebluetooth.cpp:110:24: error: ‘dup2’ was not declared in this scopebluetooth.cpp:111:22: error: ‘close’ was not declared in this scopebluetooth.cpp: In function ‘int l2cap_listen(const bdaddr_t*, short unsigned int, int, int)’:bluetooth.cpp:148:17: error: ‘close’ was not declared in this scopebluetooth.cpp:162:17: error: ‘close’ was not declared in this scopebluetooth.cpp: In function ‘void l2cap_accept(int, int, int, int, int)’:bluetooth.cpp:195:26: error: ‘close’ was not declared in this scopebluetooth.cpp:201:26: error: ‘close’ was not declared in this scopebluetooth.cpp:221:26: error: ‘fork’ was not declared in this scopebluetooth.cpp:228:32: error: ‘dup2’ was not declared in this scopebluetooth.cpp:229:30: error: ‘close’ was not declared in this scopebluetooth.cpp:242:57: error: ‘execve’ was not declared in this scopebluetooth.cpp:254:26: error: ‘close’ was not declared in this scopebluetooth.cpp: In function ‘int l2cap_connect(bdaddr_t*, bdaddr_t*, short unsigned int)’:bluetooth.cpp:274:25: error: ‘close’ was not declared in this scopebluetooth.cpp:291:25: error: ‘close’ was not declared in this scopeMakefile:10: recipe for target 'sixad_bins' failedmake: *** [sixad_bins] Error 1
ps3手柄连Linux,树莓派连接 Dualshock3(ps3手柄)相关推荐
- linux树莓派连接wifi密码,树莓派连接WiFi,不使用界面,多WiFi切换
树莓派连接WiFi,不使用界面,多WiFi切换 概述 树莓派是一个只有信用卡大小的卡片式电脑,基于ARM架构,采用Linux作为其操作系统:它默认是通过有线接口连接互联网,对于如此小巧的设备,有线连接 ...
- linux树莓派连接wifi热点,树莓派3:无线热点(从WiFi到WiFi而不是从以太网到WiFi)...
我想将我的Raspberry PI 3变成类似WiFi信号放大器,无线中继器/扩展器或WiFi热点,可以放大弱WiFi信号.树莓派3:无线热点(从WiFi到WiFi而不是从以太网到WiFi) 经过一番 ...
- linux树莓派连接wifi热点,如何将树莓派设置为WiFi热点
折腾让树莓派作为 WiFi 热点,搞了几套不同的方案.最后结论是方案三直接安装 Mate 固件更简单些.但我偏要先说折腾人的方案四: 方案四中树莓派操作系统为Raspbian, 版本: 2017-09 ...
- ps3能装linux上网,上百度聊QQ 装Linux让你的PS3无所不能
微软的XBox一代由于设计上和PC过于相似,落下不少诟病.事实上一代的XBOX也是能改装成一台PC用的,玩过XBox一代的玩家应该都对主机的DIY改造记忆犹新,通过安装XBox Linux系统,可以把 ...
- linux颜色效果,Linux | 设置select中PS3颜色效果
在select中的PS3设置颜色效果,如图所示 那么是如何实现的呢? *********************************************************** 可行的方法 ...
- jy61 树莓派_用Linux树莓派来读取JY61的串口数据
简述 有很多的小伙伴说用Linux树莓派来读取JY61的串口数据不知道怎么操作.今天我和大家分享下我是从三个方面分享的.1.JY61和树莓派的连接方式及VNC的使用:2.下载到树莓派的程序是如何编写的 ...
- 树莓派连接到电脑显示图形界面
树莓派连接到电脑显示图形界面 陈拓 2018.11.30/2018.12.01 1. 准备工作 Raspberry Pi板 一台笔记本电脑(台式机当然也可以) 装有Raspberry Pi OS的SD ...
- 转!教程:使用树莓派连接Pixhawk飞控
教程:使用树莓派连接Pixhawk飞控 树莓派可以与Pixhawk飞控相连,读取飞控中的状态信息,同时对飞控发送指令.树莓派作为一个更高性能的计算平台,可以运行图像识别.机器学习.实时路径规划等程序, ...
- 树莓派连接手机热点,并设置静态IP
网上关于设置静态IP的方法很多,亲测,有一种贼坑,搞不好会让那些没有屏幕的玩家要重刷系统,因为那种方法设置wifi后,不仅无法连接上wifi,连原来的有线网也无法使用 如果有人已经掉坑,这里有一个建议 ...
最新文章
- 【ACM】家喻户晓的中药店(待更)
- 「图像分割模型」编解码结构SegNet
- 201671010128 2017-11-05《Java程序设计》之集合
- TensorFlow使用CNN实现中文文本分类
- linux的vi命令详解,Linux上Vi命令详解
- uniapp网络请求获取数据_2.uni-app 发起网络请求
- Java8 的 Stream API 的确牛X,但性能究竟如何呢?
- js页面间通信方法实现
- JDBC操作数据库的问题总结
- 老男孩Linux架构师实战课程14期教程
- 维护和维修涉密计算机网络 必须严格采取,安全保密管理员主要负责涉密网络的日常安全保密管理工作,包括()。A.涉密网络的日常运行维护工 - 普法考试题库问答...
- 【网站集合】【Windows】程序员常用网站一览
- 程序员专属段子集锦 10/10
- Dev-C++中, “\“反斜杠符号显示成人民币符号、中文斜躺 问题
- 带求和符号的函数求导
- 一道逻辑推理题的程序实现(纯属娱乐)
- Linux-4.20.8内核桥收包源码解析(一)----------sk_buff(详细)
- mac os之监听触摸板(捏合、旋转、三指)
- 微前端 micro-app 源码研究-提前准备
- 专业财务算法,轻松计算财务指标