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

Can I get just binary of Abieos for usage? #41

Open
lovesuper opened this issue Mar 27, 2020 · 1 comment
Open

Can I get just binary of Abieos for usage? #41

lovesuper opened this issue Mar 27, 2020 · 1 comment

Comments

@lovesuper
Copy link

lovesuper commented Mar 27, 2020

I need to convert abi to bin and bin to abi offline and I am trying to assemble your program to use.
And what I have got:

$ make
Scanning dependencies of target reflect_test
[  3%] Building CXX object CMakeFiles/reflect_test.dir/src/reflect_test.cpp.o
[  6%] Linking CXX executable reflect_test
[  6%] Built target reflect_test
Scanning dependencies of target test-sanitize
[  9%] Building CXX object CMakeFiles/test-sanitize.dir/src/test.cpp.o
In file included from /home/lovesuper/Documents/abieos/src/abieos.hpp:16,
                 from /home/lovesuper/Documents/abieos/src/test.cpp:4:
/home/lovesuper/Documents/abieos/include/eosio/asset.hpp:35:11: error: declaration of ‘eosio::symbol eosio::asset::symbol’ changes meaning of ‘symbol’ [-fpermissive]
   35 |    symbol symbol;
      |           ^~~~~~
In file included from /home/lovesuper/Documents/abieos/src/abieos.hpp:15,
                 from /home/lovesuper/Documents/abieos/src/test.cpp:4:
/home/lovesuper/Documents/abieos/include/eosio/symbol.hpp:188:7: note: ‘symbol’ declared here as ‘class eosio::symbol’
  188 | class symbol {
      |       ^~~~~~
make[2]: *** [CMakeFiles/test-sanitize.dir/build.make:63: CMakeFiles/test-sanitize.dir/src/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/test-sanitize.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Ubuntu 19.10

$ gcc -v
....
gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2) 

$ cmake -version             
cmake version 3.13.4

I have tried to follow your official instruction on Readme.md.

Can I just download from somewhere a copy of working binary instead of debugging and sweating upon your code? Thanks!!!

@spoonincode
Copy link
Contributor

building with gcc should be working again, give it another try

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

2 participants