1
xxxxxxx@xxxx-MacBook-Pro bitcoin % make -j 1
Making all in src
  CXX      bitcoind-bitcoind.o
clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
In file included from bitcoind.cpp:14:
In file included from ./interfaces/chain.h:8:
./optional.h:10:10: fatal error: 'boost/optional.hpp' file not found
#include <boost/optional.hpp>
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [bitcoind-bitcoind.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

1 Answer 1

0

It looks like the boost dependency may be missing or outdated. The build instructions for OS X in the Bitcoin repository suggest that boost should be installed via homebrew in the third step, “Install Required Dependencies”. If you were missing that step, maybe try following the linked instructions from the top. If you followed every step of the instructions and still got this error, please file a bug report on the repository.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.