eos icon indicating copy to clipboard operation
eos copied to clipboard

Dawn 4 Ubuntu 16.04.4 (vm) build error (master)

Open expaand opened this issue 8 years ago • 9 comments

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.

expaand avatar May 12 '18 23:05 expaand

I am seeing the same issue

scott-schechter avatar May 13 '18 06:05 scott-schechter

Yup, same thing here. Tried about 4-5 different times nuking the virtual machine each time and starting fresh. Ubuntu 16.04

nsjames avatar May 13 '18 10:05 nsjames

@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 avatar May 13 '18 14:05 pacificcode

@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

eosio_build.log

scott-schechter avatar May 13 '18 15:05 scott-schechter

Thanks to Michael Yeates for the solution. Go to build/contracts and run make. Should work fine after.

nsjames avatar May 13 '18 16:05 nsjames

This worked, much appreciated!

scott-schechter avatar May 13 '18 17:05 scott-schechter

We should leave this open until it's fixed in the build itself.

nsjames avatar May 13 '18 18:05 nsjames

Thank you for this solution

robmcc1 avatar May 13 '18 19:05 robmcc1

I encounter the same issue, because eosio.token haven't build, so eosio.token.wast.hpp doesn't exist

loganwu avatar May 16 '18 08:05 loganwu