摘要: 错误:/bin/sh: 1: protoc: not found 使用muduo源码中的脚本build.sh进行到一半报错,解决办法: sudo apt-get install protobuf-compiler 阅读全文
posted @ 2021-12-08 19:52 hbg-rohens 阅读(483) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #define D(...) \ do { \ FILE *fp = fopen("/tmp/log.txt","a"); \ fprintf(fp,"%s:%s:%d:\t", __FILE__, __func__, __LINE__); \ fprintf( 阅读全文
posted @ 2021-12-08 17:57 hbg-rohens 阅读(42) 评论(0) 推荐(0) 编辑