-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
eosio.wasmsdk error #1284
Comments
The json library has been used incorrectly in the eos contract. I hope it will help here. |
I've never used eosio, but the I don't find |
At present, the eos blockchain urgently needs a json parsing library. At present, nlohmann/json is the most suitable, but there is this error, although I don't know where the problem is, but it is very difficult. |
Is it possible to get the eosio-cpp compiler somewhere and run it under, say, macOS? |
https://github.com/EOSIO/eosio.cdt Very easy to compile and run, I will always stare at this post, I am still good at eos, if you have problems, you can reply at any time, I will reply |
$ git clone --recursive https://github.com/eosio/eosio.cdt Then create a new
Final execution |
@nlohmann |
The errors seem to be unrelated to the library as they do not mention a library function. It seems that the compiler/STL is missing some standard features. |
I am closing the issue. Feel free to reopen if you have an error more related to the library. |
I am trying to use the following C++ JSON library:
https://github.com/nlohmann/json
Below is the code I am trying to compile with eosio-cpp gda.cpp -o gda.wasm
EOSIO_ABI( gda, (doit) )
Below is the output from trying to compile:
If the j.dump() line is commented out, the contract will compile.
A similar issue has been raised on stackoverflow.
https://stackoverflow.com/questions/52350514/linking-issue-with-eosio-ld
I was directed here from: EOSIO/eos#5832
The text was updated successfully, but these errors were encountered: