Take a look /path/to/library/filesto see what your file really is called *.a. On my system, I contact:
-ljson_linux-gcc-4.4.3_libmt
Some libraries will create a link from lib<name>.ato for you lib<name>-<version>.a, but I don't think jsoncpp does this automatically. Therefore, when linking, you need to specify the full name.
source
share