Hello,
I followed the Mac OS compilation instructions but I cannot get pass the error below:
I ran the commands below successfully however I receive the error when performing the make command:
export LDFLAGS=-L/usr/local/opt/openssl/lib
export CPPFLAGS=-I/usr/local/opt/openssl/include
./autogen.sh
./configure --with-gui=no --with-libs=no --with-miniupnpc=no
make
Error:
protocol/relay.cpp:1549:62: error: no viable conversion from '__map_iterator<__tree_iterator<__value_type<const mc_RelayRecordKey, [...]>,
std::__1::__tree<std::__1::__value_type<const mc_RelayRecordKey, mc_RelayRecordValue>, std::__1::__map_value_compare<const
mc_RelayRecordKey, std::__1::__value_type<const mc_RelayRecordKey, mc_RelayRecordValue>, std::__1::less<const mc_RelayRecordKey>,
true>, std::__1::allocator<std::__1::__value_type<const mc_RelayRecordKey, mc_RelayRecordValue> > >::__node_pointer, [...]>>' to
'__map_iterator<__tree_iterator<__value_type<mc_RelayRecordKey, [...]>, std::__1::__tree<std::__1::__value_type<mc_RelayRecordKey,
mc_RelayRecordValue>, std::__1::__map_value_compare<mc_RelayRecordKey, std::__1::__value_type<mc_RelayRecordKey, mc_RelayRecordValue>,
std::__1::less<mc_RelayRecordKey>, true>, std::__1::allocator<std::__1::__value_type<mc_RelayRecordKey, mc_RelayRecordValue> >
>::__node_pointer, [...]>>'
for(map<mc_RelayRecordKey,mc_RelayRecordValue>::iterator it = m_RelayRecords.begin(); it != m_RelayRecords.end();)
---------------
Any thoughts?