您的位置:首页 > 编程语言 > Go语言

if U got these error when using libcurl in vs, see this

2012-02-23 16:51 756 查看
Linking...
Creating library Debug/libcurl.lib and object Debug/libcurl.exp
telnet.obj : error LNK2001: unresolved external symbol __imp__WSAEnumNetworkEvents@12
telnet.obj : error LNK2001: unresolved external symbol __imp__WSAEventSelect@12
telnet.obj : error LNK2001: unresolved external symbol __imp__WSACreateEvent@0
Debug/libcurl.dll : fatal error LNK1120: 3 unresolved externals

then U need to add ws2_32.lib in the project setting’s linking modle and everything gonna be ok.

the C's API of Curl can be found here:

http://curl.haxx.se/libcurl/c/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐