abieos icon indicating copy to clipboard operation
abieos copied to clipboard

Can I get just binary of Abieos for usage?

Open lovesuper opened this issue 4 years ago • 1 comments

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!!!

lovesuper avatar Mar 27 '20 16:03 lovesuper

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

spoonincode avatar Apr 23 '20 19:04 spoonincode