eos icon indicating copy to clipboard operation
eos copied to clipboard

make install do not copy eosiolib

Open oneroot001 opened this issue 8 years ago • 15 comments

in the eosio version after realase 1.1,it seems that do not copy contract libralies to the system lib by execute the command "make install"?

oneroot001 avatar Aug 03 '18 06:08 oneroot001

I have just installed 1.1.2. None of the paths were set up correctly. Previously this was done by the build script. Maybe this is related. When I use eosiocpp I get fatal error: 'string' file not found. I need to figure out my include paths I believe.

StarryJapanNight avatar Aug 03 '18 08:08 StarryJapanNight

Yeah, eosiocpp will fail now.How to solve this? Do you remember the previous version that set the library?

oneroot001 avatar Aug 03 '18 08:08 oneroot001

I haven't upgraded for a while. I just did a clean ubuntu 18.04 install and then installed EOS 1.1.2 as per the instructions. Which folder needs to be moved, and to where?

StarryJapanNight avatar Aug 03 '18 08:08 StarryJapanNight

That didn't work for me. As stated above, I have a totally fresh install. I can't complied eosio.token either.

StarryJapanNight avatar Aug 03 '18 10:08 StarryJapanNight

The new workflow moving forward is to use eosio.wasmsdk. This has the new compiler (toolchain), eosiolib and standard libs.

larryk85 avatar Aug 03 '18 13:08 larryk85

Is the eosio.wasmsdk in addition to or in place of the standard eos git? It is a very large and slow install. I am trying to figure out how to compile with it.

StarryJapanNight avatar Aug 04 '18 11:08 StarryJapanNight

I'm using the new docker image and my pipeline broke because eosiocpp cannot find the header files anymore.

Anyone knows what commands need to be run from DockerHub's eosio:eos-dev:latest image to make it work?

MrToph avatar Aug 04 '18 20:08 MrToph

I am also getting this problem , and I have tried all of the solutions before.

dev1644 avatar Aug 07 '18 07:08 dev1644

Check my fix here.

https://github.com/EOSIO/eosio.wasmsdk/issues/30

StarryJapanNight avatar Aug 07 '18 07:08 StarryJapanNight

@Pdsmithjp it works.but when I compile "exchange" contract, it failed with errors: ./exchange.hpp:5:10: fatal error: 'exchange/market_state.hpp' file not found #include <exchange/market_state.hpp>

oneroot001 avatar Aug 07 '18 08:08 oneroot001

You need to install eosio.contracts from github. Build them using ./build.sh. Then add /eosio.contracts/build/contracts folder to your path - not the /eos/contracts or /eos/build/contracts.

StarryJapanNight avatar Aug 07 '18 08:08 StarryJapanNight

then how to generate abi use eosio-cpp? @Pdsmithjp

oneroot001 avatar Aug 07 '18 09:08 oneroot001

You can't! Take the old one from eosiocpp and modify it as necessary. I believe they are working on it.

StarryJapanNight avatar Aug 07 '18 09:08 StarryJapanNight

Install the eos sdk here:

https://github.com/EOSIO/eosio.wasmsdk

dabdevelop avatar Aug 09 '18 02:08 dabdevelop

Please refer to latest eosio.cdt, 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