T
T
Twelfth Doctor2018-03-02 18:02:19
C++ / C#
Twelfth Doctor, 2018-03-02 18:02:19

Why can't I connect the nlohmann/json library?

Hello. For some reason, it is not possible to connect the nlohmann/json library
In the header file and in the *.cpp file it is written: Compilation fails with the following error:
#include <nlohmann/json.hpp>

In file included from /home/doctor/API/apacheconf.h:7:0,
                 from /home/doctor/API/apacheconf.cpp:5:
/usr/local/include/inja.hpp:37:2: error: static assertion failed: nlohmann/json not found.
  static_assert(false, "nlohmann/json not found.");

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question