摘要:
实现在服务端可能不定时离线的情况下,客户端自动连接服务端 1 #ifndef _TCP_CLIENT 2 #define _TCP_CLIENT 3 4 #include <errno.h> 5 #include <netinet/in.h> 6 #include <netinet/ip.h> 7 阅读全文
摘要:
valgrind arm-linux 交叉编译 阅读全文
摘要:
转载:linux下查询进程占用的内存方法总结 阅读全文
摘要:
问题描述:采集格式 JPEG,1280*720,申请BUFFER的数量:4在向设备申请缓存区时,内核报错,显示剩余内存不足 [<c0011725>] (unwind_backtrace) from [<c000fdd3>] (show_stack+0xb/0xc) [<c000fdd3>] (sho 阅读全文
摘要:
采集YUYV422/ jpeg 数据 jpeg是编码压缩后的格式,在获取buf中的数据时,一定要是实际的大小: v4l2_buffer --> buf.bytesused 1 #include <errno.h> 2 #include <fcntl.h> 3 #include <linux/vide 阅读全文
摘要:
C++ 标准库中,有两种期望值,使用两种类型模板实现,声明在 <future> 头文件中 : 唯一期望值 (unique futures)( std::future<> )共享期望值 (shared futures)( std::shared_future<> )。 对于简单的一次性事件,比如,在后 阅读全文
摘要:
CMake基础教程(18) cmake 的link_libraries和target_link_libraries How to properly link libraries with cmake? CMake中有两个变量,可以获取到当前CMakeLists.txt的当前目录名(绝对路径)和当前文 阅读全文
摘要:
解压开SDK包后,根据文档提示安装交叉编译工具链: 1、安装交叉编译工具 例如:解压arm-buildroot-linux-uclibcgnueabihf-4.9.4-uclibc-1.0.31.tar.gz 到/opt/,配置环境变量 : export PATH=$PATH:/opt/arm-bu 阅读全文