EOSIOCPP - Unable to compile with 1.1.2/1.1.3 on fresh install.
I have spent the last two days trying to resolve an issue that is present with recent versions of EOSIO that was not present before.
On fresh installs of Ubuntu 16.04/18.04/18.10 (VBOX)
Installed 1.1.3 following the official guide.
-
git clone https://github.com/EOSIO/eos --recursive
-
cd eos ./eosio_build.sh
-
cd build sudo make install
No build errors occurred. I manually added the following path to my .profile and resourced it. This was not necessary in earlier versions of EOSIO.
/usr/local/eosio/bin
On trying to compile eosio.token from /eos/contracts/eosio.token, I receive the following error
eosiolib/asset.hpp not found
I tried adding /eos/contracts to my path but no joy. Clearly undocumented changes have been made. It is vital the official documentation is updated when this happens. It wastes lots of developer time and goodwill.
@ #5015
I resolved this by installing eosio.wasmsdk and eosio.contracts. Note there is (another) bug in the build script for eosio.wasmsdk, and it does not install the required boost 1.67. You need to do this manually; see the eosio.wasmsdk issues page on github.