Code: Select all
CMakeFiles/minetest.dir/convert_json.cpp.o: In function `fetchJsonValue(std::string const&, std::vector<std::string, std::allocator<std::string> >*)':
convert_json.cpp:(.text+0x3cfe): undefined reference to `Json::Value::Value(Json::Value&&)'
CMakeFiles/minetest.dir/serverlist.cpp.o: In function `ServerList::deleteEntry(Json::Value const&)':
serverlist.cpp:(.text+0x22c7): undefined reference to `Json::Value::Value(Json::Value&&)'
serverlist.cpp:(.text+0x230d): undefined reference to `Json::Value::Value(Json::Value&&)'
serverlist.cpp:(.text+0x2339): undefined reference to `Json::Value::Value(Json::Value&&)'
serverlist.cpp:(.text+0x2365): undefined reference to `Json::Value::Value(Json::Value&&)'
CMakeFiles/minetest.dir/serverlist.cpp.o:serverlist.cpp:(.text+0x239d): more undefined references to `Json::Value::Value(Json::Value&&)' follow
collect2: error: ld returned 1 exit status
src/CMakeFiles/minetest.dir/build.make:5699: recipe for target 'bin/minetest' failed
make[2]: *** [bin/minetest] Error 1
CMakeFiles/Makefile2:266: recipe for target 'src/CMakeFiles/minetest.dir/all' failed
make[1]: *** [src/CMakeFiles/minetest.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
This is result of " cmake . " :
Code: Select all
-- Detecting GMP from system failed.
-- Using bundled mini-gmp library.
-- Using bundled JSONCPP library.
-- Using LuaJIT provided by system.
-- cURL support enabled.
-- GetText enabled; locales found: lt;ko;hu;ru;pt_BR;ca;be;zh_TW;ro;zh_CN;sl;it;tr;dv;ms;sw;fr;de;pl;nl;nb;sv;id;ky;uk;da;he;ja;et;jbo;cs;eo;pt;es;sr_Cyrl
-- Sound enabled.
-- Freetype enabled.
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- ncurses not found!
You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR)
-- PostgreSQL not found!
-- LevelDB backend enabled.
-- Redis not found!
-- SpatialIndex not found!
-- Locale blacklist applied; Locales used: lt;hu;ru;pt_BR;ca;ro;sl;it;tr;dv;ms;sw;fr;de;pl;nl;nb;sv;id;uk;da;ja;et;jbo;cs;eo;pt;es;sr_Cyrl
-- Configuring done
-- Generating done
-- Build files have been written to: /root/minetest