Open remusrg opened 7 years ago
Quick update: Re-enabling warnings for 4503 (I had it disabled as it wouldn't even compile, I get this error (and a few other similar ones, which might be the root cause for the above linking issues?
warning C4503: 'asio::associated_allocator<Handler,asio::detail::hook_allocator<Handler,void>>::get': decorated name length exceeded, name was truncated
1> with
1> [
1> Handler=asio::detail::rewrapped_handler<asio::detail::binder2<asio::detail::write_op<asio::ip::tcp::socket,std::vector<asio::const_buffer,std::allocator
Where exactly do I need to get asio from? With the version in master, I get the link issues below. I need this because I need the ASIO_WINDOWS_APP handled which adds support for UWP/Windows Store apps.
2>BroadcastServer.obj : error LNK2019: unresolved external symbol impTlsAlloc@0 referenced in function "unsigned long cdecl asio::detail::win_tss_ptr_create(void)" (?win_tss_ptr_create@detail@asio@@YAKXZ) 2>BroadcastServer.obj : error LNK2019: unresolved external symbol impTlsGetValue@4 referenced in function "public: thiscall asio::detail::win_tss_ptr<class asio::detail::call_stack<class asio::detail::thread_context,class asio::detail::thread_info_base>::context>::operator class asio::detail::call_stack<class asio::detail::thread_context,class asio::detail::thread_info_base>::context *(void)const " (??B?$win_tss_ptr@Vcontext@?$call_stack@Vthread_context@detail@asio@@Vthread_info_base@23@@detail@asio@@@detail@asio@@QBEPAVcontext@?$call_stack@Vthread_context@detail@asio@@Vthread_info_base@23@@12@XZ) 2>BroadcastServer.obj : error LNK2019: unresolved external symbol impTlsFree@4 referenced in function "public: __thiscall asio::detail::win_tss_ptr::~win_tss_ptr(void)" (??1?$win_tss_ptr@Ucontext_impl@system_executor@asio@@@detail@asio@@QAE@XZ)
2