eos icon indicating copy to clipboard operation
eos copied to clipboard

eosiocpp not working with Hello World tutorial on Ubuntu 18.04

Open PhillipHamnett opened this issue 8 years ago • 5 comments

After successfully installing eos on Ubuntu 18.04 (using the eosio_build.sh script, and then running sudo make install in the build directory), the tutorial would not compile.

Steps to reproduce:

  1. eosiocpp -n hello
  2. cd hello
  3. eosiocpp -o hello.wast hello.cpp

Output:

  1. Creates the hello world skeleton (ok)
  2. Go into folder (ok)
  3. Complains that it can not find <eosiolib/eosio.hpp>

I tried making a symbolic link to the eosiolib folder in my hello directory, the got rid of the error and replaced it with a new error (inttypes.h could not be found).

I then tried installing Ubuntu 16.04, following the exact steps outlined above. This worked fine.

PhillipHamnett avatar Jul 17 '18 06:07 PhillipHamnett

eosiocpp -o hello.wast hello.cpp eosiocpp -g hello.abi hello.cpp

not 'wasm' for 'eosiocpp -o'

newbieh4cker avatar Jul 17 '18 06:07 newbieh4cker

Oops, typo in my PR. Edited it now

PhillipHamnett avatar Jul 17 '18 07:07 PhillipHamnett

Did this get resolved? The install instructions says 18.04 is compatible. I am having similar issues.

StarryJapanNight avatar Aug 03 '18 11:08 StarryJapanNight

I also have this issue , tried re-installing and other things too , but it didn't work.

dev1644 avatar Aug 07 '18 09:08 dev1644

Please refer to eosio.cdt Please refer to latest code and documentation: https://github.com/EOSIO https://developers.eos.io/ If problem persists with latest version please raise new issue.

halsaphi avatar Nov 01 '18 06:11 halsaphi