cjson/cJSON.h: No such file or directory

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

Ubuntu上cJSON下载编译-CSDN博客

你可能感兴趣的:(linux,linux)