Dran Ryszard
Member
Hi, any ideas why i can't compile otc v8? I download clean files from github, installed all libs what be linked on github, but im use visual 2022 not 2019
Code:
1>session.cpp
1>websocket.cpp
1>mouse.cpp
1>lbitlib.cpp
1>luaexception.cpp
1>luainterface.cpp
1>luaobject.cpp
1>luavaluecasts.cpp
1>C:\Users\userrrr\Desktop\client v8\src\framework\luaengine\lbitlib.cpp(168,1): warning C4005: 'luaL_newlib': macro redefinition
1>C:\vcpkg\installed\x86-windows-static\include\luajit\lauxlib.h(125,1): message : see previous definition of 'luaL_newlib' (compiling source file ..\src\framework\luaengine\lbitlib.cpp)
1>luafunctions.cpp
1>connection.cpp
1>inputmessage.cpp
1>outputmessage.cpp
1>packet_player.cpp
1>packet_recorder.cpp
1>protocol.cpp
1>server.cpp
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): error C2672: 'boost::asio::async_read': no matching overloaded function found
1>C:\vcpkg\installed\x86-windows-static\include\boost\asio\read.hpp(1458,1): message : could be 'auto boost::asio::async_read(AsyncReadStream &,DynamicBuffer_v2,CompletionCondition,ReadToken &&,constraint<boost::asio::is_dynamic_buffer_v2<DynamicBuffer_v2>::value,int>::type)' (compiling source file ..\src\framework\net\connection.cpp)
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : Failed to specialize function template 'auto boost::asio::async_read(AsyncReadStream &,DynamicBuffer_v2,CompletionCondition,ReadToken &&,constraint<boost::asio::is_dynamic_buffer_v2<DynamicBuffer_v2>::value,int>::type)'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : With the following template arguments:
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'AsyncReadStream=boost::asio::ip::tcp::socket'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'DynamicBuffer_v2=boost::asio::const_buffers_1'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'CompletionCondition=std::_Binder<std::_Unforced,void (__thiscall Connection::* )(const boost::system::error_code &,size_t),ConnectionPtr,const std::_Ph<1> &,const std::_Ph<2> &>'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'ReadToken=boost::asio::detail::default_completion_token_impl<T,void>::type'
1>C:\vcpkg\installed\x86-windows-static\include\boost\asio\read.hpp(1362,1): message : or 'auto boost::asio::async_read(AsyncReadStream &,DynamicBuffer_v2,ReadToken &&,constraint<boost::asio::is_dynamic_buffer_v2<DynamicBuffer_v2>::value,int>::type)' (compiling source file ..\src\framework\net\connection.cpp)
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : Failed to specialize function template 'auto boost::asio::async_read(AsyncReadStream &,DynamicBuffer_v2,ReadToken &&,constraint<boost::asio::is_dynamic_buffer_v2<DynamicBuffer_v2>::value,int>::type)'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : With the following template arguments:
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'AsyncReadStream=boost::asio::ip::tcp::socket'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'DynamicBuffer_v2=boost::asio::const_buffers_1'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'ReadToken=std::_Binder<std::_Unforced,void (__thiscall Connection::* )(const boost::system::error_code &,size_t),ConnectionPtr,const std::_Ph<1> &,const std::_Ph<2> &>'
1>C:\vcpkg\installed\x86-windows-static\include\boost\asio\read.hpp(1275,1): message : or 'auto boost::asio::async_read(AsyncReadStream &,boost::asio::basic_streambuf<Allocator> &,CompletionCondition,ReadToken &&)' (compiling source file ..\src\framework\net\connection.cpp)
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'auto boost::asio::async_read(AsyncReadStream &,boost::asio::basic_streambuf<Allocator> &,CompletionCondition,ReadToken &&)': could not deduce template argument for 'boost::asio::basic_streambuf<Allocator> &' from 'boost::asio::const_buffers_1'
1>C:\vcpkg\installed\x86-windows-static\include\boost\asio\read.hpp(1187,1): message : or 'auto boost::asio::async_read(AsyncReadStream &,boost::asio::basic_streambuf<Allocator> &,ReadToken &&)' (compiling source file ..\src\framework\net\connection.cpp)
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'auto boost::asio::async_read(AsyncReadStream &,boost::asio::basic_streambuf<Allocator> &,ReadToken &&)': could not deduce template argument for 'boost::asio::basic_streambuf<Allocator> &' from 'boost::asio::const_buffers_1'
1>C:\vcpkg\installed\x86-windows-static\include\boost\asio\read.hpp(1094,1): message : or 'auto boost::asio::async_read(AsyncReadStream &,DynamicBuffer_v1 &&,CompletionCondition,ReadToken &&,constraint<boost::asio::is_dynamic_buffer_v1<decay<_Ty2>::type>::value,int>::type,constraint<!boost::asio::is_dynamic_buffer_v2<decay<_Ty2>::type>::value,int>::type)' (compiling source file ..\src\framework\net\connection.cpp)
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : Failed to specialize function template 'auto boost::asio::async_read(AsyncReadStream &,DynamicBuffer_v1 &&,CompletionCondition,ReadToken &&,constraint<boost::asio::is_dynamic_buffer_v1<decay<_Ty2>::type>::value,int>::type,constraint<!boost::asio::is_dynamic_buffer_v2<decay<_Ty2>::type>::value,int>::type)'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : With the following template arguments:
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'AsyncReadStream=boost::asio::ip::tcp::socket'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'DynamicBuffer_v1=boost::asio::const_buffers_1'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'CompletionCondition=std::_Binder<std::_Unforced,void (__thiscall Connection::* )(const boost::system::error_code &,size_t),ConnectionPtr,const std::_Ph<1> &,const std::_Ph<2> &>'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'ReadToken=boost::asio::detail::default_completion_token_impl<T,void>::type'
1>C:\vcpkg\installed\x86-windows-static\include\boost\asio\read.hpp(994,1): message : or 'auto boost::asio::async_read(AsyncReadStream &,DynamicBuffer_v1 &&,ReadToken &&,constraint<boost::asio::is_dynamic_buffer_v1<decay<_Ty2>::type>::value,int>::type,constraint<!boost::asio::is_dynamic_buffer_v2<decay<_Ty2>::type>::value,int>::type)' (compiling source file ..\src\framework\net\connection.cpp)
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : Failed to specialize function template 'auto boost::asio::async_read(AsyncReadStream &,DynamicBuffer_v1 &&,ReadToken &&,constraint<boost::asio::is_dynamic_buffer_v1<decay<_Ty2>::type>::value,int>::type,constraint<!boost::asio::is_dynamic_buffer_v2<decay<_Ty2>::type>::value,int>::type)'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : With the following template arguments:
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'AsyncReadStream=boost::asio::ip::tcp::socket'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'DynamicBuffer_v1=boost::asio::const_buffers_1'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'ReadToken=std::_Binder<std::_Unforced,void (__thiscall Connection::* )(const boost::system::error_code &,size_t),ConnectionPtr,const std::_Ph<1> &,const std::_Ph<2> &>'
1>C:\vcpkg\installed\x86-windows-static\include\boost\asio\read.hpp(904,1): message : or 'auto boost::asio::async_read(AsyncReadStream &,const MutableBufferSequence &,CompletionCondition,ReadToken &&,constraint<boost::asio::is_mutable_buffer_sequence<MutableBufferSequence>::value,int>::type)' (compiling source file ..\src\framework\net\connection.cpp)
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : Failed to specialize function template 'auto boost::asio::async_read(AsyncReadStream &,const MutableBufferSequence &,CompletionCondition,ReadToken &&,constraint<boost::asio::is_mutable_buffer_sequence<MutableBufferSequence>::value,int>::type)'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : With the following template arguments:
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'AsyncReadStream=boost::asio::ip::tcp::socket'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'MutableBufferSequence=boost::asio::const_buffers_1'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'CompletionCondition=std::_Binder<std::_Unforced,void (__thiscall Connection::* )(const boost::system::error_code &,size_t),ConnectionPtr,const std::_Ph<1> &,const std::_Ph<2> &>'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'ReadToken=boost::asio::detail::default_completion_token_impl<T,void>::type'
1>C:\vcpkg\installed\x86-windows-static\include\boost\asio\read.hpp(804,1): message : or 'auto boost::asio::async_read(AsyncReadStream &,const MutableBufferSequence &,ReadToken &&,constraint<boost::asio::is_mutable_buffer_sequence<MutableBufferSequence>::value,int>::type)' (compiling source file ..\src\framework\net\connection.cpp)
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 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>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : With the following template arguments:
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'AsyncReadStream=boost::asio::ip::tcp::socket'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'MutableBufferSequence=boost::asio::const_buffers_1'
1>C:\Users\userrrr\Desktop\client v8\src\framework\net\connection.cpp(164,11): message : 'ReadToken=std::_Binder<std::_Unforced,void (__thiscall Connection::* )(const boost::system::error_code &,size_t),ConnectionPtr,const std::_Ph<1> &,const std::_Ph<2> &>'
1>Done building project "otclient.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Elapsed 07:05,092 ==========