eos icon indicating copy to clipboard operation
eos copied to clipboard

eosiocpp complie cpp into wast error

Open loganwu opened this issue 8 years ago • 3 comments

eosio/eos:20180420

when I compile debug.cpp with eosiocpp in eosio running docker, I encounter with follow error. eosiocpp -o debug.wast debug.cpp /opt/eosio/bin/eosiocpp: line 42: /opt/wasm/bin/clang: No such file or directory

loganwu avatar Apr 22 '18 10:04 loganwu

me too

4575759ww avatar Apr 24 '18 02:04 4575759ww

dup #2480

grigio avatar Apr 29 '18 19:04 grigio

This is due to the "eosio/eos" image not having all the required dependencies to compile the contract. You should now be able to pull down "eosio/builder:latest" and build your contracts inside of that container.

ericiles avatar May 07 '18 17:05 ericiles