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"?
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.
Yeah, eosiocpp will fail now.How to solve this? Do you remember the previous version that set the library?
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?
That didn't work for me. As stated above, I have a totally fresh install. I can't complied eosio.token either.
The new workflow moving forward is to use eosio.wasmsdk. This has the new compiler (toolchain), eosiolib and standard libs.
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.
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?
I am also getting this problem , and I have tried all of the solutions before.
Check my fix here.
@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
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.
then how to generate abi use eosio-cpp? @Pdsmithjp
You can't! Take the old one from eosiocpp and modify it as necessary. I believe they are working on it.
Install the eos sdk here:
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.
Most helpful comment
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.