Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [eosio-cpp]

Questions about the new eosio-cpp compiler tool. These are different from the deprecated Version eosiocpp.

0
votes
0answers
18 views

Inherit from eosio.token

I want to inherit the eosio.token in my contract say MyCustomToken.cpp but i am getting an error: error: redefinition of 'apply' I want to call the eosio.token functions from my custom functions ...
0
votes
1answer
47 views

How to include external library to smart contract?

I am trying to add libcryptopp library to my contract but when I try to compile with eosio-cpp I get an error that header files cannot be found. This is my code: #include <eosiolib/eosio.hpp> #...
0
votes
1answer
132 views

How to avoid “Warning, empty ricardian clause file” warnings?

When executing eosio-cpp -I include -o eosio.token.wasm src/eosio.token.cpp --abigen over the eosio.token smart contract I get the following warnings: Warning, empty ricardian clause file Warning, ...
0
votes
0answers
61 views

eosio-cpp get stucked when compiling “helloworld” contract

I am a newbie in eos development. I am following the eos development guide to build my first "helloworld" contract, here is the link. Everything is ok until section 2.1, It says I should use eosio-cpp ...
3
votes
2answers
99 views

eosio-cpp -abigen hello.cpp -o hello.wasm

Ubuntu 18.04.1 on VMware (Windows 10 64bit) EOSIO v1.4.1 eosio.cdt-1.3.2 i just run the compiler like this : win@ubuntu:~/eos$ eosio-cpp -abigen hello.cpp -o hello.wasm then, the ...