eos icon indicating copy to clipboard operation
eos copied to clipboard

Unable to run eosiocpp -o due to Boost error

Open tpmccallum opened this issue 8 years ago • 3 comments

I am running the following command

eosiocpp -o tp1/tp1.wasm tp1/tp1.cpp

and getting the following error

/usr/local/include/eosiolib/datastream.hpp:18:10: fatal error: 'boost/pfr.hpp' file not found

Background: All test on the installation have passed. In addition I have located the pfr.hpp file (using find) at /home/timothymccallum/eos_dawn_3/eos/externals/magic_get/include/boost/pfr.hpp

tpmccallum avatar Apr 16 '18 05:04 tpmccallum

Initially I was just trying to re-install EOS by re-cloning the repo and re-running the build.sh file I then found out that the ~/opt directory has EOS installation related data. It is my belief at present that the issue was present since the first installation and therefore probably persisting in the ~/opt directory. As a result I have removed the ~/opt directory, re-cloned the repo and and re-running the build.sh. This seems to be recompiling from scratch rather that just skipping over things which it already had installed (in the ~/opt directory). Will report back if the issue is resolved.

tpmccallum avatar Apr 16 '18 06:04 tpmccallum

Removed the /home/me/opt directory, re cloned the repo and re-ran the build.sh and I am now able to run the compiler without the boost error.

tpmccallum avatar Apr 16 '18 07:04 tpmccallum

how to re cloned?

Justin-ye avatar May 23 '18 00:05 Justin-ye