You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run build_linux.sh, it's error when build boost:
/data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.cpp: In member function ‘void NPL::CNPLConnection::connect()’:
/data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.cpp:591:78: error: no matching function for call to ‘boost::asio::ip::basic_resolverboost::asio::ip::tcp::basic_resolver(boost::asio::basic_socketboost::asio::ip::tcp::executor_type)’
m_resolver.reset(new boost::asio::ip::tcp::resolver(m_socket.get_executor()));
^
/data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.cpp:591:78: note: candidates are:
In file included from /usr/local/include/boost/asio.hpp:80:0,
from /data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLMsgOut.h:8,
from /data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.h:5,
from /data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLDispatcher.h:9,
from /data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.cpp:11:
/usr/local/include/boost/asio/ip/basic_resolver.hpp:116:3: note: boost::asio::ip::basic_resolver::basic_resolver(boost::asio::ip::basic_resolver&&) [with InternetProtocol = boost::asio::ip::tcp]
basic_resolver(basic_resolver&& other)
^
/usr/local/include/boost/asio/ip/basic_resolver.hpp:116:3: note: no known conversion for argument 1 from ‘boost::asio::basic_socketboost::asio::ip::tcp::executor_type {aka boost::asio::io_context::executor_type}’ to ‘boost::asio::ip::basic_resolverboost::asio::ip::tcp&&’
/usr/local/include/boost/asio/ip/basic_resolver.hpp:100:12: note: boost::asio::ip::basic_resolver::basic_resolver(boost::asio::io_context&) [with InternetProtocol = boost::asio::ip::tcp]
explicit basic_resolver(boost::asio::io_context& io_context)
^
/usr/local/include/boost/asio/ip/basic_resolver.hpp:100:12: note: no known conversion for argument 1 from ‘boost::asio::basic_socketboost::asio::ip::tcp::executor_type {aka boost::asio::io_context::executor_type}’ to ‘boost::asio::io_context&’
make[2]: *** [ParaEngineServer/CMakeFiles/ParaEngineServer.dir/data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.cpp.o] Error 1
make[1]: *** [ParaEngineServer/CMakeFiles/ParaEngineServer.dir/all] Error 2
make: *** [all] Error 2
/data/NPLRuntime
The text was updated successfully, but these errors were encountered:
When i run build_linux.sh, it's error when build boost:
/data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.cpp: In member function ‘void NPL::CNPLConnection::connect()’:
/data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.cpp:591:78: error: no matching function for call to ‘boost::asio::ip::basic_resolverboost::asio::ip::tcp::basic_resolver(boost::asio::basic_socketboost::asio::ip::tcp::executor_type)’
m_resolver.reset(new boost::asio::ip::tcp::resolver(m_socket.get_executor()));
^
/data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.cpp:591:78: note: candidates are:
In file included from /usr/local/include/boost/asio.hpp:80:0,
from /data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLMsgOut.h:8,
from /data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.h:5,
from /data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLDispatcher.h:9,
from /data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.cpp:11:
/usr/local/include/boost/asio/ip/basic_resolver.hpp:116:3: note: boost::asio::ip::basic_resolver::basic_resolver(boost::asio::ip::basic_resolver&&) [with InternetProtocol = boost::asio::ip::tcp]
basic_resolver(basic_resolver&& other)
^
/usr/local/include/boost/asio/ip/basic_resolver.hpp:116:3: note: no known conversion for argument 1 from ‘boost::asio::basic_socketboost::asio::ip::tcp::executor_type {aka boost::asio::io_context::executor_type}’ to ‘boost::asio::ip::basic_resolverboost::asio::ip::tcp&&’
/usr/local/include/boost/asio/ip/basic_resolver.hpp:100:12: note: boost::asio::ip::basic_resolver::basic_resolver(boost::asio::io_context&) [with InternetProtocol = boost::asio::ip::tcp]
explicit basic_resolver(boost::asio::io_context& io_context)
^
/usr/local/include/boost/asio/ip/basic_resolver.hpp:100:12: note: no known conversion for argument 1 from ‘boost::asio::basic_socketboost::asio::ip::tcp::executor_type {aka boost::asio::io_context::executor_type}’ to ‘boost::asio::io_context&’
make[2]: *** [ParaEngineServer/CMakeFiles/ParaEngineServer.dir/data/NPLRuntime/Client/trunk/ParaEngineClient/NPL/NPLConnection.cpp.o] Error 1
make[1]: *** [ParaEngineServer/CMakeFiles/ParaEngineServer.dir/all] Error 2
make: *** [all] Error 2
/data/NPLRuntime
The text was updated successfully, but these errors were encountered: