centos环境中引入jsoncpp后,编译工程报错,找不到基本库。

centos环境中引入jsoncpp后,编译代码报错

In file included from /usr/local/include/json/autolink.h:9:0,
from /usr/local/include/json/json.h:9,
from /home/vfp/libs/ipdb/source/ipdb.c:7:
/usr/local/include/json/config.h:9:35: 致命错误:string:没有那个文件或目录
#include //typedef String

目前没有思路,请帮忙解决。

您提出来的那个json.h、config.h的文件都是存在的

主要分析/json.h、config.h的文件是否存在?路径是否正确?提供参考实例:https://www.cnblogs.com/kl-22510/p/16576674.html

1.centos环境中引入jsoncpp的版本是否对应
2.下载的位置 路径是否正确