I downloaded JSONCPP
from GitHub. I included header file Json.h
and wrote simple code as shown in picture. But i am getting link errors. Can you please help in using JSONCPP
.
lINK ERROR: unresolved external symbol "public: __thiscall Json::Reader::Reader(void)" (??0Reader@Json@@QAE@XZ) referenced in function "void __cdecl `dynamic initializer for 'read''(void)" (??__Eread@@YAXXZ)[![MY code][1]][1]
#include "stdafx.h"
#include <json.h>
Json::Reader read;
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}