I downloaded the libjson package and added it to my VS2010 projects folder. I created a new project called checkJson and added the following code:
#include "../../libjson/libjson.h"
int main(){ return 0;}
When I compile I get an error : "Release build of libjson, but NDEBUG is not on"
Since this is the first time I am using Visual Studio I think I have very basic mistake here. Can you help me please ?
Moreover, if there is a problem with this package, or if you know some other json parsing packages that I could use without lots of configuration issues I don't care using them instead of this package.
Is there a warning like "Warning C4603: 'NDEBUG' : macro is not defined or definition is different after precompiled header".?
If yes, than just place the #define NDEBUG AFTER the #include "stdafx.h" or move it into stdafx.h
I had also to comment the line
#define JSON_DEPRECATED_FUNCTIONS
in JSONOptions.h, but after that i was at least able to compile.