Hello, I am a beginner at c++ and get this error message, when I try to run my code:
Error C2338 forcing MSVC stacktrace to show which T we're talking about. ConsoleRPG c:...\nlohmann\json.hpp 1207
Error C2065 "force_msvc_stacktrace": undeclared identifier ConsoleRPG c:...\nlohmann\json.hpp 1206
Error C2039 "force_msvc_stacktrace": is not a member of "Item" ConsoleRPG c:...\nlohmann\json.hpp 1206
Error C2338 could not find from_json() method in T's namespace ConsoleRPG c:...\nlohmann\json.hpp 1202
I already read this thread: #929
I could still not locate the error.
The only thing I assign to json values is like this:
nlohmann::json itemJ = json::parse("string")
or having them as parameters in functions.
Hello, I am a beginner at c++ and get this error message, when I try to run my code:
Error C2338 forcing MSVC stacktrace to show which T we're talking about. ConsoleRPG c:...\nlohmann\json.hpp 1207
Error C2065 "force_msvc_stacktrace": undeclared identifier ConsoleRPG c:...\nlohmann\json.hpp 1206
Error C2039 "force_msvc_stacktrace": is not a member of "Item" ConsoleRPG c:...\nlohmann\json.hpp 1206
Error C2338 could not find from_json() method in T's namespace ConsoleRPG c:...\nlohmann\json.hpp 1202
I already read this thread: #929
I could still not locate the error.
The only thing I assign to json values is like this:
nlohmann::json itemJ = json::parse("string")
or having them as parameters in functions.