问题:
error LNK2019: unresolved external symbol __imp__curl_easy_init referenced in function _main
解决:
1.只要在直接调用curl库的项目上加上两个预编译选项:
BUILDING_LIBCURL;HTTP_ONLY
2.加上三个链接库
#pragma comment(lib, "../3rd/curl/libcurl.lib")
#pragma comment(lib, "ws2_32.lib")
#pragma comment(lib, "wldap32.lib")