Hello,
I tried to compile the easyrpg tools. I need them to be able to obtain/convert game files.
I have successfully (but after some problem which I don’t remember any more) compiled multiple years ago on Debian 7 on old computer.
Today I want to do the same on new computer with Debian 10, amd64, lxde.
I successfully compiled the liblcf first. Using the ‘cmake’. I had to first install things like cmake, expat, etc. from package manager.
Next, the tools themselves.
This doesn’t work.
‘cmake’ method gives:
CMake Error at gencache/CMakeLists.txt:9 (find_package):
By not providing “Findnlohmann_json.cmake” in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
“nlohmann_json”, but CMake did not find one.Could not find a package configuration file provided by “nlohmann_json”
with any of the following names:nlohmann_jsonConfig.cmake
nlohmann_json-config.cmakeAdd the installation prefix of “nlohmann_json” to CMAKE_PREFIX_PATH or set
“nlohmann_json_DIR” to a directory containing one of the above files. If
“nlohmann_json” provides a separate development package or SDK, be sure it
has been installed.
autoreconf -i
./configure
is also problematic and gives:
configure: error: Package requirements (nlohmann_json) were not met:
No package ‘nlohmann_json’ found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.Alternatively, you may set the environment variables NLOHMANNJSON_CFLAGS
and NLOHMANNJSON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
configure: error: ./configure failed for gencache
So, apparently i need a nlohmann_json.
It was not described anywhere.
I installed package nlohmann-json-dev
This did not help.
I could also choose nlohmann-json3-dev
(I can have only 1 of them because conflict)
This did not help either.
So I have the required thing now but I can’t compile anyway.
How do I make it possible?
What should I do so that this apparently missing nlohmann_json will be detected and the compilation will be successfull?
Thanks in advance.