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/
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/
相关文章推荐
- mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when try
- 在给mysql数据库备份时,报错: mysqldump: Got error: 145: Table '.\shengdaxcom\pre_forum_thread' is marked as c rashed and should be repaired when using LOCK TABLES
- 导出Mysql数据库出错:Got error: 145: Table 'wp_options' is marked as crashed and should be repaired when using LOCK TABLES的解决方法
- Using libcurl in VC++
- Using libcurl in VC++
- mysqldump: Got error: XX: File ' XXX.MYD' not found (Errcode: 24) when using LOCK TABLES
- zz : A LNK2005 error occurs when the CRT library and MFC libraries are linked in the wrong order in Visual C++ ---- nafxcw.lib(a
- mysql -- mysqldump错误:Got error: 1044: Access denied for user ... when using LOCK TABLES
- mysqldump: Got error: 1142: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'accounts' when using LOCK TABLES
- Error 1044 in MySQL: Access denied when using LOCK TABLES
- mysqldump: Got error: 1146: Table 'performance_schema.cond_instances' doesn't exist when using LOCK
- Fatal error: Using $this when not in object context in 解决方法
- 备份错误mysqldump: Got error: 1016 when using LOCK TABLES
- VS2015 MSVCRTD.lib(_chandler4gs_.obj) : error LNK2019: unresolved external symbol __except_handler4_common referenced in function __except_handler4
- mysql -- mysqldump错误:Got error: 1044: Access denied for user ... when using LOCK TABLES (转载)
- mysqldump: Got error: 1146: Table 'performance_schema.cond_instances' doesn't exist when using LOCK
- mysqldump执行时Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
- Centos下_MysqL5.7在使用mysqldump命令备份数据库报错:mysqldump: Got error: 1449: The user specified as a definer ('fk_system'@'localhost') does not exist when using LOCK TABLES
- mac编译PHP报错 configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/
- Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TAB