I'm getting this error:
/Users/jules/bitshares/libraries/db/include/bts/db/fast_level_map.hpp:117:16: error:
      no viable conversion from 'const_iterator' (aka
      '__hash_map_const_iterator<typename __table::const_iterator>') to
      'decltype(this->_cache.find(key))' (aka '__hash_map_iterator<typename
      __table::iterator>')
        return _cache.find( key );
               ^~~~~~~~~~~~~~~~~~
/Users/jules/bitshares/libraries/blockchain/chain_database.cpp:3853:56: note:
      in instantiation of member function
      'bts::db::fast_level_map<fc::signed_int,
      bts::blockchain::account_record>::unordered_find' requested here
           const auto iter = my->_account_id_to_record.unordered_find( id );
                                                       ^
/usr/bin/../lib/c++/v1/unordered_map:546:24: note: candidate constructor (the
      implicit copy constructor) not viable: no known conversion from
      'const_iterator' (aka '__hash_map_const_iterator<typename
      __table::const_iterator>') to 'const
      std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<fc::signed_int,
      bts::blockchain::account_record>, void *> *> > &' for 1st argument
class _LIBCPP_TYPE_VIS __hash_map_iterator
                       ^
/usr/bin/../lib/c++/v1/unordered_map:546:24: note: candidate constructor (the
      implicit move constructor) not viable: no known conversion from
      'const_iterator' (aka '__hash_map_const_iterator<typename
      __table::const_iterator>') to
      'std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<fc::signed_int,
      bts::blockchain::account_record>, void *> *> > &&' for 1st argument
class _LIBCPP_TYPE_VIS __hash_map_iterator
                       ^
/usr/bin/../lib/c++/v1/unordered_map:570:5: note: candidate constructor not
      viable: no known conversion from 'const_iterator' (aka
      '__hash_map_const_iterator<typename __table::const_iterator>') to
      'std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<fc::signed_int,
      bts::blockchain::account_record>, void *> *>' for 1st argument
    __hash_map_iterator(_HashIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
In file included from /Users/jules/bitshares/libraries/blockchain/chain_database.cpp:2:
In file included from /Users/jules/bitshares/libraries/blockchain/include/bts/blockchain/chain_database_impl.hpp:5:
/Users/jules/bitshares/libraries/db/include/bts/db/fast_level_map.hpp:117:16: error:
      no viable conversion from 'const_iterator' (aka
      '__hash_map_const_iterator<typename __table::const_iterator>') to
      'decltype(this->_cache.find(key))' (aka '__hash_map_iterator<typename
      __table::iterator>')
        return _cache.find( key );
               ^~~~~~~~~~~~~~~~~~
/Users/jules/bitshares/libraries/blockchain/chain_database.cpp:3860:54: note:
      in instantiation of member function
      'bts::db::fast_level_map<std::__1::basic_string<char>,
      fc::signed_int>::unordered_find' requested here
           const auto iter = my->_account_name_to_id.unordered_find( name );
                                                     ^
/usr/bin/../lib/c++/v1/unordered_map:546:24: note: candidate constructor (the
      implicit copy constructor) not viable: no known conversion from
      'const_iterator' (aka '__hash_map_const_iterator<typename
      __table::const_iterator>') to 'const
      std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<std::__1::basic_string<char>,
      fc::signed_int>, void *> *> > &' for 1st argument
class _LIBCPP_TYPE_VIS __hash_map_iterator
                       ^
/usr/bin/../lib/c++/v1/unordered_map:546:24: note: candidate constructor (the
      implicit move constructor) not viable: no known conversion from
      'const_iterator' (aka '__hash_map_const_iterator<typename
      __table::const_iterator>') to
      'std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<std::__1::basic_string<char>,
      fc::signed_int>, void *> *> > &&' for 1st argument
class _LIBCPP_TYPE_VIS __hash_map_iterator
                       ^
/usr/bin/../lib/c++/v1/unordered_map:570:5: note: candidate constructor not
      viable: no known conversion from 'const_iterator' (aka
      '__hash_map_const_iterator<typename __table::const_iterator>') to
      'std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<std::__1::basic_string<char>,
      fc::signed_int>, void *> *>' for 1st argument
    __hash_map_iterator(_HashIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
In file included from /Users/jules/bitshares/libraries/blockchain/chain_database.cpp:2:
In file included from /Users/jules/bitshares/libraries/blockchain/include/bts/blockchain/chain_database_impl.hpp:5:
/Users/jules/bitshares/libraries/db/include/bts/db/fast_level_map.hpp:117:16: error:
      no viable conversion from 'const_iterator' (aka
      '__hash_map_const_iterator<typename __table::const_iterator>') to
      'decltype(this->_cache.find(key))' (aka '__hash_map_iterator<typename
      __table::iterator>')
        return _cache.find( key );
               ^~~~~~~~~~~~~~~~~~
/Users/jules/bitshares/libraries/blockchain/chain_database.cpp:3867:57: note:
      in instantiation of member function
      'bts::db::fast_level_map<bts::blockchain::address,
      fc::signed_int>::unordered_find' requested here
           const auto iter = my->_account_address_to_id.unordered_find( addr );
                                                        ^
/usr/bin/../lib/c++/v1/unordered_map:546:24: note: candidate constructor (the
      implicit copy constructor) not viable: no known conversion from
      'const_iterator' (aka '__hash_map_const_iterator<typename
      __table::const_iterator>') to 'const
      std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<bts::blockchain::address,
      fc::signed_int>, void *> *> > &' for 1st argument
class _LIBCPP_TYPE_VIS __hash_map_iterator
                       ^
/usr/bin/../lib/c++/v1/unordered_map:546:24: note: candidate constructor (the
      implicit move constructor) not viable: no known conversion from
      'const_iterator' (aka '__hash_map_const_iterator<typename
      __table::const_iterator>') to
      'std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<bts::blockchain::address,
      fc::signed_int>, void *> *> > &&' for 1st argument
class _LIBCPP_TYPE_VIS __hash_map_iterator
                       ^
/usr/bin/../lib/c++/v1/unordered_map:570:5: note: candidate constructor not
      viable: no known conversion from 'const_iterator' (aka
      '__hash_map_const_iterator<typename __table::const_iterator>') to
      'std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<bts::blockchain::address,
      fc::signed_int>, void *> *>' for 1st argument
    __hash_map_iterator(_HashIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
In file included from /Users/jules/bitshares/libraries/blockchain/chain_database.cpp:2:
In file included from /Users/jules/bitshares/libraries/blockchain/include/bts/blockchain/chain_database_impl.hpp:5:
/Users/jules/bitshares/libraries/db/include/bts/db/fast_level_map.hpp:117:16: error:
      no viable conversion from 'const_iterator' (aka
      '__hash_map_const_iterator<typename __table::const_iterator>') to
      'decltype(this->_cache.find(key))' (aka '__hash_map_iterator<typename
      __table::iterator>')
        return _cache.find( key );
               ^~~~~~~~~~~~~~~~~~
/Users/jules/bitshares/libraries/blockchain/chain_database.cpp:3919:54: note:
      in instantiation of member function
      'bts::db::fast_level_map<fc::signed_int,
      bts::blockchain::asset_record>::unordered_find' requested here
           const auto iter = my->_asset_id_to_record.unordered_find( id );
                                                     ^
/usr/bin/../lib/c++/v1/unordered_map:546:24: note: candidate constructor (the
      implicit copy constructor) not viable: no known conversion from
      'const_iterator' (aka '__hash_map_const_iterator<typename
      __table::const_iterator>') to 'const
      std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<fc::signed_int,
      bts::blockchain::asset_record>, void *> *> > &' for 1st argument
class _LIBCPP_TYPE_VIS __hash_map_iterator
                       ^
/usr/bin/../lib/c++/v1/unordered_map:546:24: note: candidate constructor (the
      implicit move constructor) not viable: no known conversion from
      'const_iterator' (aka '__hash_map_const_iterator<typename
      __table::const_iterator>') to
      'std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<fc::signed_int,
      bts::blockchain::asset_record>, void *> *> > &&' for 1st argument
class _LIBCPP_TYPE_VIS __hash_map_iterator
                       ^
/usr/bin/../lib/c++/v1/unordered_map:570:5: note: candidate constructor not
      viable: no known conversion from 'const_iterator' (aka
      '__hash_map_const_iterator<typename __table::const_iterator>') to
      'std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<fc::signed_int,
      bts::blockchain::asset_record>, void *> *>' for 1st argument
    __hash_map_iterator(_HashIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
In file included from /Users/jules/bitshares/libraries/blockchain/chain_database.cpp:2:
In file included from /Users/jules/bitshares/libraries/blockchain/include/bts/blockchain/chain_database_impl.hpp:5:
/Users/jules/bitshares/libraries/db/include/bts/db/fast_level_map.hpp:117:16: error:
      no viable conversion from 'const_iterator' (aka
      '__hash_map_const_iterator<typename __table::const_iterator>') to
      'decltype(this->_cache.find(key))' (aka '__hash_map_iterator<typename
      __table::iterator>')
        return _cache.find( key );
               ^~~~~~~~~~~~~~~~~~
/Users/jules/bitshares/libraries/blockchain/chain_database.cpp:3958:50: note:
      in instantiation of member function
      'bts::db::fast_level_map<bts::blockchain::address,
      bts::blockchain::balance_record>::unordered_find' requested here
           auto iter = my->_balance_id_to_record.unordered_find( id );
                                                 ^
/usr/bin/../lib/c++/v1/unordered_map:546:24: note: candidate constructor (the
      implicit copy constructor) not viable: no known conversion from
      'const_iterator' (aka '__hash_map_const_iterator<typename
      __table::const_iterator>') to 'const
      std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<bts::blockchain::address,
      bts::blockchain::balance_record>, void *> *> > &' for 1st argument
class _LIBCPP_TYPE_VIS __hash_map_iterator
                       ^
/usr/bin/../lib/c++/v1/unordered_map:546:24: note: candidate constructor (the
      implicit move constructor) not viable: no known conversion from
      'const_iterator' (aka '__hash_map_const_iterator<typename
      __table::const_iterator>') to
      'std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<bts::blockchain::address,
      bts::blockchain::balance_record>, void *> *> > &&' for 1st argument
class _LIBCPP_TYPE_VIS __hash_map_iterator
                       ^
/usr/bin/../lib/c++/v1/unordered_map:570:5: note: candidate constructor not
      viable: no known conversion from 'const_iterator' (aka
      '__hash_map_const_iterator<typename __table::const_iterator>') to
      'std::__1::__hash_iterator<std::__1::__hash_node<std::__1::pair<bts::blockchain::address,
      bts::blockchain::balance_record>, void *> *>' for 1st argument
    __hash_map_iterator(_HashIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
5 errors generated.
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 1
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
make: *** [all] Error 2
I installed all dependencies. Can anyone decipher this error as to what went wrong?