Personally I downloaded the source code of the json-c lib, but I do not know how to compile using codeblocks