随笔分类 -  第三方库使用与移植

摘要:iperf3源码下载:https://github.com/esnet/iperf或者http://downloads.es.net/pub/iperf/ ubuntu版本下载: sudo apt-get install iperf3(version3) sudo apt-get install i 阅读全文
posted @ 2021-12-23 14:29 jest549 阅读(971) 评论(0) 推荐(0) 编辑
摘要:一、X86 ubuntu平台 1.下载protobuf-c ,下载最新版本就行 下载地址:https://github.com/protobuf-c/protobuf-c/tags 2.编译与安装 安装依赖库 sudo apt-get install autoconf automake libtoo 阅读全文
posted @ 2021-10-19 10:03 jest549 阅读(9102) 评论(0) 推荐(0) 编辑
摘要:1.全局初始化API 应用程序在使用libcurl之前,必须先初始化libcurl。libcurl只需初始化一次。可以使用以下语句进行初始化: CURLcode curl_global_init(int flags); 一般flags使用CURL_GLOBAL_ALL 当应用程序不再使用libcur 阅读全文
posted @ 2021-10-18 12:01 jest549 阅读(2675) 评论(0) 推荐(0) 编辑
摘要:(转)github地址:https://github.com/pymumu/tinylog# Tinylog Tinylog是一个UNIX环境下轻量级的C/C++高性能异步日志组件,其提供了高性能,异步,线程安全,进程安全的日志功能。 支持日志归档,支持多线程并发写日志,多进程并发写日志,支持非阻塞 阅读全文
posted @ 2021-04-13 15:14 jest549 阅读(1254) 评论(0) 推荐(0) 编辑
摘要:GitHub开源项的地址:https://github.com/nlohmann/jsonjson for modern c++是一个德国大牛nlohmann写的,该版本的json有以下特点:1.直观的语法。2.整个代码由一个头文件组成json.hpp,没有子项目,没有依赖关系,没有复杂的构建系统, 阅读全文
posted @ 2021-03-09 16:53 jest549 阅读(1041) 评论(0) 推荐(0) 编辑
摘要:Ubuntu下打包QT的程序是比较难受的,没有一键打包的软件,经常会出现段错误或找不到库,核心思想就是找依赖库,将所有依赖库都拷贝出来。但一个依赖库又依赖另一个,往往找不全。 像这样,段错误连提示都没有 像这样: 像这样 像这样 QT编译程序时使用release,并勾上shadow build 方法 阅读全文
posted @ 2021-03-09 11:57 jest549 阅读(833) 评论(0) 推荐(0) 编辑
摘要:使用ifstat查看arm linux每张网卡的实时网速 下载ifstat, ifstat-1.1.tar.gz ifstat官网:http://gael.roualland.free.fr/ifstat/wget http://gael.roualland.free.fr/ifstat/ifsta 阅读全文
posted @ 2020-12-21 22:48 jest549 阅读(889) 评论(0) 推荐(0) 编辑
摘要:speedtest依赖的库包括:curl、expat curl库下载地址:https://curl.haxx.se/download.html expat库下载地址:https://github.com/libexpat/libexpat(https://github.com/libexpat/li 阅读全文
posted @ 2020-12-20 23:30 jest549 阅读(1835) 评论(5) 推荐(0) 编辑
摘要:1.移植移植libevent 到官网下载https://libevent.org/ libevent-2.1.12-stable.tar.gz 或 libevent-2.1.10-stable.tar.gz 解压tar -zxvf libevent-2.1.12-stable.tar.gz 进入解压 阅读全文
posted @ 2020-11-27 15:14 jest549 阅读(1030) 评论(0) 推荐(0) 编辑
摘要:1.编译环境准备,在Ubuntu下安装好autoconf、automake、libtool、make、g++、unzip,并准备好交叉工具链。 执行命令: sudo apt-get install autoconf automake libtool curl make g++ unzip 2.下载c 阅读全文
posted @ 2020-09-26 10:26 jest549 阅读(2160) 评论(0) 推荐(0) 编辑
摘要:MQTT(消息队列遥测传输)是ISO 标准(ISO/IEC PRF 20922)下基于发布/订阅范式的消息协议。它工作在 TCP/IP协议族上,是为硬件性能低下的远程设备以及网络状况糟糕的情况下而设计的发布/订阅型消息协议,为此,它需要一个消息中间件 。 MQTT是一个基于客户端-服务器的消息发布/ 阅读全文
posted @ 2020-09-25 20:39 jest549 阅读(3986) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示