-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
EOS compilation produces "fatal error: 'nlohmann/json.hpp' file not found" #1432
Comments
@nlohmann it would be great if we could have support for this library within EOS but it's a rather restrictive environment. I cross posted this issue and got a discouraging reply but perhaps something that would encourage you to look into it, as a challenge, perhaps? |
This seems to be a problem with the include directories which is more related to the invocation of the compiler rather than the compiler itself. The
I do not know the compiler that you are using, but you should try
|
@ekkis Does this solve your issue? |
what I did was just to download, the thanks for the reply and attempt to help all the same |
I'll start by admitting this may belong in the EOS support but just in case someone here knows about this I'm posting here
cannot seem to include the .hpp file in my EOS project
$ brew tap nlohmann/json
$ brew install nlohmann_json
$ brew test nlohmann_json
$ cat "#include <nlohmann/json.hpp>" > t.cpp
$ eosio-cpp -o t.wasm t.cpp --abigen
successful compilation
using the EOS compiler
develop
branch?the released version
I presume these are run with
brew test ...
-- they ran successfully (no errors)The text was updated successfully, but these errors were encountered: