Dawn 4 Ubuntu 16.04.4 (vm) build error (master)
It was running fine, until this happened. I tried it twice (after removing build), but same thing.
[ 80%] Building CXX object libraries/testing/CMakeFiles/chain_tester.dir/test.cpp.o /xxx/eos/libraries/testing/test.cpp:4:10: fatal error: 'eosio.token/eosio.token.wast.hpp' file not found #include <eosio.token/eosio.token.wast.hpp> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. libraries/testing/CMakeFiles/chain_tester.dir/build.make:62: recipe for target 'libraries/testing/CMakeFiles/chain_tester.dir/test.cpp.o' failed make[2]: *** [libraries/testing/CMakeFiles/chain_tester.dir/test.cpp.o] Error 1 CMakeFiles/Makefile2:2004: recipe for target 'libraries/testing/CMakeFiles/chain_tester.dir/all' failed make[1]: *** [libraries/testing/CMakeFiles/chain_tester.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.
I am seeing the same issue
Yup, same thing here. Tried about 4-5 different times nuking the virtual machine each time and starting fresh. Ubuntu 16.04
@expaand @sschechter @nsjames Can you run the following and send the full output of the build here? cd /path/to/eos rm -rf build/ git pull git submodule update --init --recursive ./eosio_build.sh > eosio_build.log
@pacificcode here's my results:
/home/scott/eos/libraries/testing/test.cpp:4:10: fatal error: 'eosio.token/eosio.token.wast.hpp' file not found #include <eosio.token/eosio.token.wast.hpp> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [libraries/testing/CMakeFiles/chain_tester.dir/test.cpp.o] Error 1 make[1]: *** [libraries/testing/CMakeFiles/chain_tester.dir/all] Error 2 make: *** [all] Error 2
Thanks to Michael Yeates for the solution.
Go to build/contracts and run make.
Should work fine after.
This worked, much appreciated!
We should leave this open until it's fixed in the build itself.
Thank you for this solution
I encounter the same issue, because eosio.token haven't build, so eosio.token.wast.hpp doesn't exist