• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient error compiling otclient

El Man

«لَا إِلَٰهَ إِلَّا ٱللَّٰهُ»
Joined
Mar 23, 2013
Messages
161
Reaction score
33
i try to compile otclientv8 src from Compiling on Windows · edubart/otclient Wiki (https://github.com/edubart/otclient/wiki/Compiling-on-Windows)

i follow steps and use vc 2019 / vcpkg

the problem
1663284289073.png

C++:
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(164,11): error C2672: 'boost::asio::async_read': no matching overloaded function found
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(166,114): error C2893: Failed to specialize function template 'auto boost::asio::async_read(AsyncReadStream &,const MutableBufferSequence &,ReadToken &&,constraint<boost::asio::is_mutable_buffer_sequence<MutableBufferSequence>::value,int>::type)'
1>G:\Git\vcpkg\installed\x64-windows\include\boost\asio\read.hpp(804): message : see declaration of 'boost::asio::async_read'
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(166,114): message : With the following template arguments:
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(166,114): message : 'AsyncReadStream=boost::asio::ip::tcp::socket'
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(166,114): message : 'MutableBufferSequence=boost::asio::const_buffers_1'
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(166,114): message : 'ReadToken=std::_Binder<std::_Unforced,void (__cdecl Connection::* )(const boost::system::error_code &,size_t),ConnectionPtr,const std::_Ph<1> &,const std::_Ph<2> &>'

someone can help?
 
i try to compile otclientv8 src from Compiling on Windows · edubart/otclient Wiki (https://github.com/edubart/otclient/wiki/Compiling-on-Windows)

i follow steps and use vc 2019 / vcpkg

the problem
View attachment 70584

C++:
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(164,11): error C2672: 'boost::asio::async_read': no matching overloaded function found
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(166,114): error C2893: Failed to specialize function template 'auto boost::asio::async_read(AsyncReadStream &,const MutableBufferSequence &,ReadToken &&,constraint<boost::asio::is_mutable_buffer_sequence<MutableBufferSequence>::value,int>::type)'
1>G:\Git\vcpkg\installed\x64-windows\include\boost\asio\read.hpp(804): message : see declaration of 'boost::asio::async_read'
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(166,114): message : With the following template arguments:
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(166,114): message : 'AsyncReadStream=boost::asio::ip::tcp::socket'
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(166,114): message : 'MutableBufferSequence=boost::asio::const_buffers_1'
1>G:\Git\vcpkg\otclient\src\framework\net\connection.cpp(166,114): message : 'ReadToken=std::_Binder<std::_Unforced,void (__cdecl Connection::* )(const boost::system::error_code &,size_t),ConnectionPtr,const std::_Ph<1> &,const std::_Ph<2> &>'

someone can help?
Have you found any solution?
 
Back
Top