An issue during building bitshares/bitshares-core on osx...

in #bitshares7 years ago

I got std::cerr and std::hash error during my first build of bitshares-core, these two errors all occurred in bitshares-fc library.

The solution is using boost1.6 and pass the BOOST_ROOT macro when executing cmake, like this:

brew install [email protected]
cmake -DBOOST_ROOT=/usr/local/opt/[email protected]

It may resolve most compile error you will encounter.

btw. the openssl not founding issue I mentioned yesterday also exists in bitshares-core codebase, could be resolved by exporting OPENSSL_ROOT_DIR macro:

export OPENSSL_ROOT_DIR=/usr/local/opt/openssl/

Note: both boost and openssl are installed using brew on osx platform

Sort:  

my be jas moment that......

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 58495.34
ETH 2300.70
USDT 1.00
SBD 2.47