收到此錯誤時,我遵循jsoncpp簡單的代碼示例,基本上是這樣 Json::Reader reader; 如何解決這一問題?這個類型對我來說看起來相當完整,但它不像g ++那麼好,可以告訴我什麼是缺失或什麼。 error: aggregate Json::Reader reader has incomplete type and cannot be defined
我試圖編譯一個示例jsoncpp示例,但是在「標準」頭文件中顯示了大量的編譯錯誤。任何時候有任何機構能看到這個? [~]$ g++ -g -c json.cc -I/usr/local/include/json
In file included from /usr/include/libio.h:62,
from /usr/include/stdio.h:75,