2

I am facing an issue while compiling the token contract.

    cd eos/contract/eosio.token

    eosiocpp -o eosio.token.wast eosio.token.cpp

But it shows the following response,

    eosiocpp: command not found

Shall I need to install the compiler for doing the operation. I have installed the EOSIO using the Source.

0

After building, if you want your binaries installed system-wide, you need to run in the build folder

$ sudo make install 

Afterwards, the script should output where the binaries have been copied, and, if it's not already in the $PATH, you can extend your $PATH to look for them there. Example:

$ export PATH=/usr/local/eosio/bin/:$PATH
$ which eosiocpp
/usr/bin/eosio/bin/eosiocpp
$ eosiocpp -n hello
$ eosiocpp -o hello/hello.wasm hello/hello.cpp

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.