Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error #19

Open
aix4c opened this issue Apr 19, 2018 · 4 comments
Open

fatal error #19

aix4c opened this issue Apr 19, 2018 · 4 comments

Comments

@aix4c
Copy link

aix4c commented Apr 19, 2018

CMake Warning at CMakeLists.txt:29 (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.cmake

make
[ 33%] Building CXX object CMakeFiles/toxvpn.dir/src/main.cpp.o
In file included from /home/world/build/toxvpn/src/main.cpp:1:0:
/home/world/build/toxvpn/src/main.h:33:10: fatal error: nlohmann/json.hpp: no such dir
#include <nlohmann/json.hpp>
^~~~~~~~~~~~~~~~~~~

@punzik
Copy link

punzik commented Apr 21, 2018

Install this: https://github.com/nlohmann/json

@aix4c
Copy link
Author

aix4c commented Apr 22, 2018

it looks like work. Give me example of usage toxvpn. How can I reach remote host(s)?

@cleverca22
Copy link
Owner

you need to install toxvpn on the remote host, run it on both, and then use the add command to add each-other's id (status shows it)

@aix4c
Copy link
Author

aix4c commented Apr 23, 2018

nlohmann require cmake 3.8, Centos 7 can offer 3.6 only. :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants