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

in #bitshares2 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......