hello everynoe i have a problem which make me very sad because i have test many method but i can't solve one month ago i use sudo apt-get install libboost-all-dev to get the boost and i can compile bitcoin successfully,i kow it is boost1.58 。 one week ago when i install a boost1.67 in my ubuntu by source,i cant compile bitcoin anywhere.
i compile bitcoin0.10 show: rpcserver.cpp:467:102: error: wrong number of template arguments (2, should be 1) t::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > accepto ^ In file included from /usr/local/include/boost/asio.hpp:30:0, from rpcprotocol.h:15, from rpcserver.h:10, from rpcserver.cpp:6: /usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’ class basic_socket_acceptor ^ rpcserver.cpp:467:104: error: template argument 1 is invalid :shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^ rpcserver.cpp:477:95: error: wrong number of template arguments (2, should be 1) t::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > accepto ^ In file included from /usr/local/include/boost/asio.hpp:30:0, from rpcprotocol.h:15, from rpcserver.h:10, from rpcserver.cpp:6: /usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’ class basic_socket_acceptor ^ rpcserver.cpp:477:97: error: template argument 1 is invalid :shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
when i compile bitcoin 0.16 it it show maybe: undefine ref boost::test_tools
i know it is boost falut, later i install a boost1.58 by source but i cant solve it . i have check /user/lib/linux86_64-linux-gnu i think it is libboost_unit_test_framework.so.1,58............ so i think it is boost 1.58 so what should i do ?????