I have included json.h in my project, but compiler says:
undefined reference to 'Json::Value' or 'Json::Reader'
May I need to do something else?
I have included json.h in my project, but compiler says:
undefined reference to 'Json::Value' or 'Json::Reader'
May I need to do something else?
Like any other library, you need to install it if you're going to use it. Try this:
make_all.sh jsoncpp
If all that succeeds, then you'll have the jsoncpp library installed on your development machine for NACL_SDK_ROOT, and something like #include <json/reader.h>
will succeed.