Stack Exchange Network

Stack Exchange network consists of 175 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
15 views

ABI file not generated

I have compiled a smart contract using eosio-cpp -o addbook.wasm addbook.cpp --abigen command. Compilation was successfull and wasm file got generated. But I cant find abi. eosio-cpp version is, ...
1
vote
1answer
50 views

Serialization Error Processing WASM while following hello.cpp tutorial

I am following along the tutorial on the EOS website at https://developers.eos.io/eosio-home/docs/your-first-contract At the first smart contract development section, I cannot manage to publish the ...
3
votes
2answers
124 views

How to get current time in different versions of EOSIO

Depending on which version of EOSIO you use, there are different options available for finding the current time. What are they?
0
votes
1answer
37 views

Why does the -abigen option in eosio.cdt not work?

When trying to compile my contract, I use the -abigen flag in order to auto-generate the necessary ABI file. This did not work, and gave no errors or warnings. The code to compile the contract is as ...
1
vote
1answer
61 views

Issue while compiling smart contract - eosio.cdt

I have installed eosio.cdt in Ubuntu system by using commands from EOS Developers Portal wget https://github.com/EOSIO/eosio.cdt/releases/download/v1.4.1/eosio.cdt-1.4.1.x86_64.deb sudo apt install ./...
0
votes
0answers
42 views

/eosio.cdt/bin/wasm-ld: error: ios.obj: undefined symbol: std::uncaught_exception() while using eosio-cpp

WHAT I AM USING CDT: eosio.cdt-1.4.1 WHAT I AM DOING I am getting this error while trying to compile a contract: /usr/local/eosio.cdt/bin/wasm-ld: error: ios.obj: undefined symbol: std::...
0
votes
0answers
7 views

Printing action parms to stdout

I am trying to create an action that prints the contents of any struct (TABLE) being used in my code. Something with a signature like ACTION printtbl(const std::string& tname,const std::tuple&...
0
votes
1answer
106 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> #...
1
vote
1answer
532 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, ...
3
votes
2answers
150 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 ...
0
votes
0answers
25 views

Compiling eos software to get dlls

How can I compile EOS software on Linux or Windows to get dynamically linked libraries (DLLs) that I need in order to create an EOS wrapper to compile and deploy smart contracts from other programming ...