lpcproject / LightPayCoin

LightPayCoin Core
MIT License
19 stars 34 forks source link

cant compile os macosx #10

Closed nvieirapt closed 6 years ago

nvieirapt commented 6 years ago

This issue tracker is only for technical issues related to LightPayCoin Core. General LightPayCoin questions and/or support requests and are best directed to the LightPayCoin Slack.

cant compile code on macosx.

Can you reliably reproduce the issue?

  1. did exactly step by step the instructions on https://github.com/lpcproject/LightPayCoin/blob/master/doc/build-osx.md

Expected behavior

compile clean

Actual behavior

this error below: Nunos-iMac:LightPayCoin nuno$ make Making all in src CXX lightpaycoind-lightpaycoind.o CXX libbitcoin_server_a-addrman.o CXX libbitcoin_server_a-alert.o CXX libbitcoin_server_a-bloom.o CXX libbitcoin_server_a-chain.o CXX libbitcoin_server_a-checkpoints.o CXX libbitcoin_server_a-init.o CXX libbitcoin_server_a-leveldbwrapper.o CXX libbitcoin_server_a-main.o CXX libbitcoin_server_a-merkleblock.o CXX libbitcoin_server_a-miner.o CXX libbitcoin_server_a-net.o CXX libbitcoin_server_a-noui.o CXX libbitcoin_server_a-pow.o CXX libbitcoin_server_a-rest.o CXX libbitcoin_server_a-rpcblockchain.o CXX libbitcoin_server_a-rpcmasternode.o CXX libbitcoin_server_a-rpcmasternode-budget.o CXX libbitcoin_server_a-rpcmining.o CXX libbitcoin_server_a-rpcmisc.o CXX libbitcoin_server_a-rpcnet.o CXX libbitcoin_server_a-rpcrawtransaction.o CXX libbitcoin_server_a-rpcserver.o rpcserver.cpp:495:48: error: too many template arguments for class template 'basic_socket_acceptor' static void RPCAcceptHandler(boost::shared_ptr<basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^ ~~~~~~ /usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: template is declared here class basic_socket_acceptor ^ rpcserver.cpp:505:41: error: too many template arguments for class template 'basic_socket_acceptor' static void RPCListen(boost::shared_ptr<basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^ ~~~~~~ /usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: template is declared here class basic_socket_acceptor ^ rpcserver.cpp:528:48: error: too many template arguments for class template 'basic_socket_acceptor' static void RPCAcceptHandler(boost::shared_ptr<basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor, ^ ~~~~~~ /usr/local/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: template is declared here class basic_socket_acceptor ^ rpcserver.cpp:616:27: error: no matching constructor for initialization of 'ssl::context' rpc_ssl_context = new ssl::context(*rpc_io_service, ssl::context::sslv23); ^ ~~~~~~~~~ /usr/local/include/boost/asio/ssl/impl/context.ipp:63:10: note: candidate constructor not viable: requires single argument 'm', but 2 arguments were provided context::context(context::method m) ^ /usr/local/include/boost/asio/ssl/impl/context.ipp:326:10: note: candidate constructor not viable: requires single argument 'other', but 2 arguments were provided context::context(context&& other) ^ /usr/local/include/boost/asio/ssl/context.hpp:36:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided class context ^ rpcserver.cpp:638:50: error: no member named 'impl' in 'boost::asio::ssl::context' SSL_CTX_set_cipher_list(rpc_ssl_context->impl(), strCiphers.c_str());


rpcserver.cpp:694:13: error: no matching function for call to 'RPCListen'
            RPCListen(acceptor, *rpc_ssl_context, fUseSSL);
            ^~~~~~~~~
6 errors generated.
make[2]: *** [libbitcoin_server_a-rpcserver.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Nunos-iMac:LightPayCoin nuno$ 

### Screenshots.

### What version of LightPayCoin Core are you using?
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package.
the last one from todays git v1.0.0.1

### Machine specs:
- OS: MacOS X High Sierra
- CPU: core i7
- RAM: 8Gb
- Disk size: 80Gb
- Disk Type (HD/SDD): SSD

### Any extra information that might be useful in the debugging process.
This is normally the contents of a `debug.log`, `db.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred.
[config.log](https://github.com/lpcproject/LightPayCoin/files/2428084/config.log)
nvieirapt commented 6 years ago

i have compiled it on linux with xcode sdk...