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
Error 12 error LNK2019: unresolved external symbol ___WSAFDIsSet@8 referenced in function "int __cdecl co::connect_mode_hook<int (__cdecl*)(unsigned int,struct sockaddr const *,int),struct sockaddr const * &,int &>(int (_cdecl)(unsigned int,struct sockaddr const *,int),char const *,unsigned int,struct sockaddr const * &,int &)" (??$connect_mode_hook@P6AHIPBUsockaddr@@h@ZAAPBU1@AAH@co@@YAHP6AHIPBUsockaddr@@h@ZPBDIAAPBU1@AAH@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 13 error LNK2019: unresolved external symbol __imp__ioctlsocket@12 referenced in function "bool __cdecl co::SetNonblocking(unsigned int,bool)" (?SetNonblocking@co@@YA_NI_N@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 14 error LNK2019: unresolved external symbol __imp__getsockopt@20 referenced in function "bool __cdecl co::IsNonblocking(unsigned int)" (?IsNonblocking@co@@YA_NI@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 15 error LNK2019: unresolved external symbol __imp__select@20 referenced in function "int __cdecl co::connect_mode_hook<int (_cdecl)(unsigned int,struct sockaddr const _,int),struct sockaddr const * &,int &>(int (_cdecl)(unsigned int,struct sockaddr const *,int),char const *,unsigned int,struct sockaddr const * &,int &)" (??$connect_mode_hook@P6AHIPBUsockaddr@@h@ZAAPBU1@AAH@co@@YAHP6AHIPBUsockaddr@@h@ZPBDIAAPBU1@AAH@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 16 error LNK2019: unresolved external symbol __imp__setsockopt@20 referenced in function "int __cdecl co::hook_ioctlsocket(unsigned int,long,unsigned long *)" (?hook_ioctlsocket@co@@YAHIJPAK@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 17 error LNK2019: unresolved external symbol __imp__WSASetLastError@4 referenced in function "int __cdecl co::hook_ioctlsocket(unsigned int,long,unsigned long *)" (?hook_ioctlsocket@co@@YAHIJPAK@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 18 error LNK2019: unresolved external symbol __imp__WSAGetLastError@0 referenced in function "int __cdecl co::hook_ioctlsocket(unsigned int,long,unsigned long *)" (?hook_ioctlsocket@co@@YAHIJPAK@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
The text was updated successfully, but these errors were encountered:
lib1256
changed the title
vs2013 编译出现以下错误,应该是没有加载WinSock2的lib.望在CMAKE中增加。不用自己手动增加。
vs2013 编译出现以下错误,应该是没有加载WinSock2的lib(Ws2_32.lib).如果在文档中说明就更好了。
Jun 30, 2016
Error 12 error LNK2019: unresolved external symbol ___WSAFDIsSet@8 referenced in function "int __cdecl co::connect_mode_hook<int (__cdecl*)(unsigned int,struct sockaddr const *,int),struct sockaddr const * &,int &>(int (_cdecl)(unsigned int,struct sockaddr const *,int),char const *,unsigned int,struct sockaddr const * &,int &)" (??$connect_mode_hook@P6AHIPBUsockaddr@@h@ZAAPBU1@AAH@co@@YAHP6AHIPBUsockaddr@@h@ZPBDIAAPBU1@AAH@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 13 error LNK2019: unresolved external symbol __imp__ioctlsocket@12 referenced in function "bool __cdecl co::SetNonblocking(unsigned int,bool)" (?SetNonblocking@co@@YA_NI_N@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 14 error LNK2019: unresolved external symbol __imp__getsockopt@20 referenced in function "bool __cdecl co::IsNonblocking(unsigned int)" (?IsNonblocking@co@@YA_NI@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 15 error LNK2019: unresolved external symbol __imp__select@20 referenced in function "int __cdecl co::connect_mode_hook<int (_cdecl)(unsigned int,struct sockaddr const _,int),struct sockaddr const * &,int &>(int (_cdecl)(unsigned int,struct sockaddr const *,int),char const *,unsigned int,struct sockaddr const * &,int &)" (??$connect_mode_hook@P6AHIPBUsockaddr@@h@ZAAPBU1@AAH@co@@YAHP6AHIPBUsockaddr@@h@ZPBDIAAPBU1@AAH@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 16 error LNK2019: unresolved external symbol __imp__setsockopt@20 referenced in function "int __cdecl co::hook_ioctlsocket(unsigned int,long,unsigned long *)" (?hook_ioctlsocket@co@@YAHIJPAK@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 17 error LNK2019: unresolved external symbol __imp__WSASetLastError@4 referenced in function "int __cdecl co::hook_ioctlsocket(unsigned int,long,unsigned long *)" (?hook_ioctlsocket@co@@YAHIJPAK@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
Error 18 error LNK2019: unresolved external symbol __imp__WSAGetLastError@0 referenced in function "int __cdecl co::hook_ioctlsocket(unsigned int,long,unsigned long *)" (?hook_ioctlsocket@co@@YAHIJPAK@Z) D:\libin\libgo\vs_proj\vs2013\Demo\libgo_d.lib(win_vc_hook.obj) Demo
The text was updated successfully, but these errors were encountered: