Closed karthik-ir closed 6 years ago
I confirm, I tried also the eosio/builder
image but there are other problems #2320
dup #2480
eosio/builder:latest now has all the required tools/libraries to compile contracts. I just tested using the hello contract. If you run into any other problems, please feel free to open additional issues.
hey @ericiles I'm still having trouble with this. I've got my docker containers set up and running. I've successfully created keys and accounts, and successfully completed the tutorial https://github.com/EOSIO/eos/wiki/Tutorial-eosio-token-Contract and am now working on https://github.com/EOSIO/eos/wiki/Tutorial-Hello-World-Contract. I've set the following alias "alias eosiocpp='docker-compose exec keosd /opt/eosio/bin/eosiocpp'", but when I run "eosiocpp -o hello.wast hello.cpp", I get "clang-4.0: error: no such file or directory: 'hello.cpp'" I am sure I'm running from the correct directory. I'm likely misunderstanding the docs, some clarification would be great!
Thank you
@joaoritter I commented here: https://github.com/EOSIO/eos/issues/4105#issuecomment-400929571
@ericiles i get error eosiocpp not found i am able to use nodeos and keosd
am i missing something?
This has all changed since my comment on May 7th. You should now use the eosio/eos-dev:latest image. It contains all the required binaries and dependencies to work with smart contracts now.
I' m using the eosio/eos-dev:latest image. another error: hello.cpp:1:10: fatal error: 'eosiolib/eosio.hpp' file not found
@li3365 This is may be because there is not eosiolib folder from where you are running command please search for eosiolib folder and then copy it to the folder from where you are running commands , if you can give me more details or screenshot i can help you
on creating hello.cpp and running
eosiocpp -o hello.wast hello.cpp
I get error :
/opt/eosio/bin/eosiocpp: line 42: /opt/wasm/bin/clang: No such file or directory