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