Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我遵循 jsoncpp 中的简单代码示例时出现此错误,基本上就像
Json::Reader reader;
如何解决这个问题?该类型对我来说看起来很完整,但它不像 g++ 足以告诉我缺少什么或任何东西。
error: aggregate Json::Reader reader has incomplete type and cannot be defined
应该是#include <json.h>,而不是我需要的个别课程,每README.txt.
#include <json.h>
README.txt