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 [compilation]

The tag has no usage guidance.

3
votes
2answers
81 views

What is needed to get the EOS ~1.1.4 tutorials working on Ubuntu 16.04 (having compiled from source)?

I've found lots of info for Dawn 3.0, but there's a note in the 1.1.0 release notes that acknowledges that the EOS Developer Portal tutorials (token, exchange, helloWorld) don't work and need updating,...
3
votes
1answer
28 views

What is an overhead of a smart-contracts compiled to WebAssembly using different languages?

Let's say I'm going to write a simple smart-contract to be executed in wasm. Is there any inherit overhead by the language I will use? In particular I'm interested of overhead between following ...
3
votes
3answers
337 views

Can not find <eosiolib/eosio.hpp> when compiling with eosiocpp #2

I'm trying to compile any smart contract. Let's say the skeleton one. When running eosiocpp -o it can't find the header file for eosio. Not a duplicate of Can not find <eosiolib/eosio.hpp> when ...
0
votes
0answers
42 views

Is it possible to compile a smart contract using g++ or clang?

I want to write and execute some unit tests on a smart contract outside of nodeos, but to do that I need to be able to compile the code the normal C++ way, using g++ or clang, so that I get object or ...
1
vote
0answers
17 views

nodeos compilation and missing libsoci_core.so.4.0 library

compiled and installed latest release of soci lib. set $PATH to include compiled libraries. compiled 1.1 release with sql plugin now they i try to run nodeos with sql plugin enabled i get this error: ...
5
votes
1answer
109 views

How to correctly include multiple .cpp files in eosiocpp -o?

I am trying to include a JSON-Parsing library into my smart contract. There are only two .hpp/.cpp files to link which are in the same folder as the contract. JSON and JSONValue In my contracts ...
2
votes
1answer
81 views

Importing CMake Project into Clion, Unable to find BOOST_ROOT

I get the following error when importing eos (1.0 from github) as a clion project. Does anyone know where I can set BOOST_ROOT? /home/usera/clion-2018.1.3/bin/cmake/bin/cmake -DCMAKE_BUILD_TYPE=...
0
votes
1answer
59 views

Can't use fopen, fclose, and ifstream

Here's a screenshot of the problem. This happened when I use eosiocpp to compile my .cpp file into .wast. Does the compiler not allow file reading?
1
vote
1answer
45 views

Dawn4 build error - eosio.token/eosio.token.wast.hpp: No such file or directory

I was able to run Dawn 3, but ran into a snag with Dawn 4: Using a fresh CentOS7 VM in VirtualBox, building the dawn-v4.0.0 tag using the eosio_build.sh: [ 80% ] Building CXX object libraries/testing/...
2
votes
1answer
51 views

Is the a way to pass preprocessor macro to `eosiocpp` for specific types of compilation

I would like to develop my contracts in a way where I can pass a compile time flag to enable/disable debugging code so that the debugging functionality would not be compiled into the "production" ...