Closed ghost closed 7 years ago
Thank you. Looks like I was tricked by Debian/Ubuntu's placement: /usr/include/jsoncpp/json/json.h (properly due to naming conflict with just "json")
I looked into it and noticed that jsoncpp could use pkg-config. I have added it in this commit: https://github.com/blockattack/blockattack-game/commit/cabda704af0acac607bc602f1d00b57b873b0b9c
This is solved in master and will be ready for 2.1.0. Could you checkout "master" and test it?
Yes it works now. Thank you.
With the latest master I noticed that the man page, .desktop file and icons are installed to CMAKE_INSTALL_PREFIX/
I opened a PR for that.
On my Arch Linux system I have to change line 29 to
#ifdef _WIN32
Otherwise the json.h header file is not found.
I'm not sure if this is a problem on other distributions, too.
The path on my system is
/usr/include/json/json.h