EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

latest docker 1.2.1 generate abi fail #5297

Closed 86chenjie closed 6 years ago

86chenjie commented 6 years ago
root@0bc74a5fd083:/work# eosiocpp -g hello.abi hello.cpp
In file included from /work/hello.cpp:4:
In file included from /eos/contracts/eosiolib/asset.hpp:5:
/eos/contracts/eosiolib/symbol.hpp:2:10: fatal error: 'eosiolib/core_symbol.hpp' file not found
#include <eosiolib/core_symbol.hpp>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Error while processing /work/hello.cpp.
root@0bc74a5fd083:/work# cleos get info
{
  "server_version": "bf28f8bb",
  "chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
  "head_block_num": 35294,
  "last_irreversible_block_num": 35293,
  "last_irreversible_block_id": "000089dd51b1dc5b73d5347a64e48037d710dd4162d10fa37303644d147ac1bc",
  "head_block_id": "000089de30b21ede492f3f453d61afbc74205adb19e50c9319c94349979c0eb8",
  "head_block_time": "2018-08-17T09:11:32.500",
  "head_block_producer": "eosio",
  "virtual_block_cpu_limit": 200000000,
  "virtual_block_net_limit": 1048576000,
  "block_cpu_limit": 199900,
  "block_net_limit": 1048576,
  "server_version_string": "v1.2.1"
}
86chenjie commented 6 years ago

give up on docker 1.2.1, switched to docker 1.1.0