linX-project / linX

Linx - A mineable blockchain based digital currency.
https://mylinx.io
Other
21 stars 9 forks source link

Request #9

Open red0bear opened 6 years ago

red0bear commented 6 years ago

I tried to compile here but it fail ..... Do you wish make it to cmake instead make files .... its very hard compile using manual dependecies.

mammix2 commented 6 years ago

Hi can you give us a more info on where it fails, what OS you are compiling on and the output of the error?

red0bear commented 6 years ago
  1. /linX/src/leveldb' /bin/sh: ./build_detect_platform: /bin/sh^M: interpretador incorreto: Arquivo ou diretório não encontrado

  2. this is because boost bitcoinrpc.cpp:665:102: error: wrong number of template arguments (2, should be 1) static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^ In file included from /usr/include/boost/asio.hpp:30:0, from bitcoinrpc.cpp:14: /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template class boost::asio::basic_socket_acceptor’ class basic_socket_acceptor ^~~~~ bitcoinrpc.cpp:665:104: error: template argument 1 is invalid static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^ bitcoinrpc.cpp:675:95: error: wrong number of template arguments (2, should be 1) static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^ In file included from /usr/include/boost/asio.hpp:30:0, from bitcoinrpc.cpp:14: /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template class boost::asio::basic_socket_acceptor’ class basic_socket_acceptor ^~~~~ bitcoinrpc.cpp:675:97: error: template argument 1 is invalid static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^ bitcoinrpc.cpp: In function ‘void RPCListen(int, boost::asio::ssl::context&, bool)’: bitcoinrpc.cpp:680:91: error: base operand of ‘->’ is not a pointer AcceptedConnectionImpl conn = new AcceptedConnectionImpl(acceptor->get_io_service(), context, fUseSSL); ^~ bitcoinrpc.cpp:682:13: error: base operand of ‘->’ is not a pointer acceptor->async_accept( ^~ bitcoinrpc.cpp: At global scope: bitcoinrpc.cpp:697:102: error: wrong number of template arguments (2, should be 1) static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^ In file included from /usr/include/boost/asio.hpp:30:0, from bitcoinrpc.cpp:14: /usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template class boost::asio::basic_socket_acceptor’ class basic_socket_acceptor ^~~~~ bitcoinrpc.cpp:697:104: error: template argument 1 is invalid static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^ bitcoinrpc.cpp: In function ‘void RPCAcceptHandler(int, boost::asio::ssl::context&, bool, AcceptedConnection, const boost::system::error_code&)’: bitcoinrpc.cpp:704:60: error: base operand of ‘->’ is not a pointer if (error != asio::error::operation_aborted && acceptor->is_open()) ^~ bitcoinrpc.cpp:705:45: error: no matching function for call to ‘RPCListen(int&, boost::asio::ssl::context&, const bool&)’ RPCListen(acceptor, context, fUseSSL); ^ bitcoinrpc.cpp:675:13: note: candidate: template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool) static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^~~~~ bitcoinrpc.cpp:675:13: note: template argument deduction/substitution failed: bitcoinrpc.cpp:705:45: note: couldn't deduce template parameter ‘Protocol’ RPCListen(acceptor, context, fUseSSL); ^ bitcoinrpc.cpp: In function ‘void StartRPCThreads()’: bitcoinrpc.cpp:766:77: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’ rpc_ssl_context = new ssl::context(rpc_io_service, ssl::context::sslv23); ^ In file included from /usr/include/boost/asio/ssl/context.hpp:757:0, from /usr/include/boost/asio/ssl.hpp:18, from bitcoinrpc.cpp:23: /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context&&) context::context(context&& other) ^~~ /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) context::context(context::method m) ^~~ /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided bitcoinrpc.cpp:785:50: error: ‘class boost::asio::ssl::context’ has no member named ‘impl’ SSL_CTX_set_cipher_list(rpc_ssl_context->impl(), strCiphers.c_str()); ^~~~ bitcoinrpc.cpp:808:54: error: no matching function for call to ‘RPCListen(boost::shared_ptr<boost::asio::basic_socket_acceptor >&, boost::asio::ssl::context&, const bool&)’ RPCListen(acceptor, rpc_ssl_context, fUseSSL); ^ bitcoinrpc.cpp:675:13: note: candidate: template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool) static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^~~~~ bitcoinrpc.cpp:675:13: note: template argument deduction/substitution failed: bitcoinrpc.cpp:808:54: note: couldn't deduce template parameter ‘Protocol’ RPCListen(acceptor, rpc_ssl_context, fUseSSL); ^ bitcoinrpc.cpp:830:58: error: no matching function for call to ‘RPCListen(boost::shared_ptr<boost::asio::basic_socket_acceptor >&, boost::asio::ssl::context&, const bool&)’ RPCListen(acceptor, rpc_ssl_context, fUseSSL); ^ bitcoinrpc.cpp:675:13: note: candidate: template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool) static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^~~~~ bitcoinrpc.cpp:675:13: note: template argument deduction/substitution failed: bitcoinrpc.cpp:830:58: note: couldn't deduce template parameter ‘Protocol’ RPCListen(acceptor, *rpc_ssl_context, fUseSSL); ^ bitcoinrpc.cpp: In function ‘json_spirit::Object CallRPC(const string&, const Array&)’: bitcoinrpc.cpp:1069:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’ ssl::context context(io_service, ssl::context::sslv23); ^ In file included from /usr/include/boost/asio/ssl/context.hpp:757:0, from /usr/include/boost/asio/ssl.hpp:18, from bitcoinrpc.cpp:23: /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context&&) context::context(context&& other) ^~~ /usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate expects 1 argument, 2 provided /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) context::context(context::method m) ^~~ /usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate expects 1 argument, 2 provided