我在mac os中制作比特币时出错了。我按照doc / build-osx.md
中的说明操作sudo port install boost db48@+no_java openssl miniupnpc autoconf pkgconfig automake
git clone git@github.com:bitcoin/bitcoin.git bitcoin
cd bitcoin
./autogen.sh
./configure
make
make make我收到以下错误
/opt/local/include/boost/utility/addressof.hpp:59: error: call of overloaded 'f(boost::detail::addr_impl_ref<void ()(const std::string&)const>, int)' is ambiguous
/opt/local/include/boost/utility/addressof.hpp:37: note: candidates are: static T* boost::detail::addressof_impl<T>::f(T&, long int) [with T = void ()(const std::string&)const]
/opt/local/include/boost/utility/addressof.hpp:43: note: static T* boost::detail::addressof_impl<T>::f(T*, int) [with T = void ()(const std::string&)const]
make[3]: *** [noui.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
建议?
答案 0 :(得分:-1)
尝试使用 macports 自动下载所有组件并安装比特币:
sudo port -d install bitcoin