Skip to content

Instantly share code, notes, and snippets.

@Jordach
Created September 23, 2017 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jordach/1b28f21f7113223c14bf30036f40a464 to your computer and use it in GitHub Desktop.
Save Jordach/1b28f21f7113223c14bf30036f40a464 to your computer and use it in GitHub Desktop.
Linking CXX executable ../bin/minetest
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+0x68e): undefined reference to `Json::Value::Value(Json::Value&&)'
CMakeFiles/minetest.dir/serverlist.cpp.o: In function `ServerList::deleteEntry(Json::Value const&)':
serverlist.cpp:(.text+0x2437): undefined reference to `Json::Value::Value(Json::Value&&)'
serverlist.cpp:(.text+0x247d): undefined reference to `Json::Value::Value(Json::Value&&)'
serverlist.cpp:(.text+0x24a9): undefined reference to `Json::Value::Value(Json::Value&&)'
serverlist.cpp:(.text+0x24d5): undefined reference to `Json::Value::Value(Json::Value&&)'
CMakeFiles/minetest.dir/serverlist.cpp.o:serverlist.cpp:(.text+0x250d): more undefined references to `Json::Value::Value(Json::Value&&)' follow
collect2: error: ld returned 1 exit status
src/CMakeFiles/minetest.dir/build.make:5797: recipe for target 'bin/minetest' failed
make[2]: *** [bin/minetest] Error 1
CMakeFiles/Makefile2:178: 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment