- 具体错误
In file included from mosquitto_ctrl.c:19:
../../config.h:86:12: fatal error: cjson/cJSON.h: No such file or directory86 | # include <cjson/cJSON.h>| ^~~~~~~~~~~~~~~
- 解决办法1(无效)
sudo apt install -y libjsoncpp-dev
- 自己编译
Ubuntu上cJSON下载编译-CSDN博客