vs 支持https libcurl静态库

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qq_34126663/article/details/54707783

这里有已经编译好的支持https的libcurl库,亲测vs2008\vs2010 MFC好使

编译的时候可能会报错:

Error 30 error LNK2005: "void __cdecl terminate(void)" (?terminate@@YAXXZ) already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib

Error 24 error LNK2005: ___CppXcptFilter already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 25 error LNK2005: ___iob_func already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 28 error LNK2005: ___xc_a already defined in msvcrtd.lib(cinitexe.obj) LIBCMTD.lib
Error 29 error LNK2005: ___xc_z already defined in msvcrtd.lib(cinitexe.obj) LIBCMTD.lib
Error 26 error LNK2005: ___xi_a already defined in msvcrtd.lib(cinitexe.obj) LIBCMTD.lib
Error 27 error LNK2005: ___xi_z already defined in msvcrtd.lib(cinitexe.obj) LIBCMTD.lib
Error 19 error LNK2005: __amsg_exit already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 9 error LNK2005: __crt_debugger_hook already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 17 error LNK2005: __CrtDbgReportW already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 6 error LNK2005: __CrtSetCheckCount already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 12 error LNK2005: __decode_pointer already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 10 error LNK2005: __encode_pointer already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 11 error LNK2005: __encoded_null already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 13 error LNK2005: __errno already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 18 error LNK2005: __exit already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 5 error LNK2005: __free_dbg already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 8 error LNK2005: __gmtime32 already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 1 error LNK2005: __gmtime64 already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib
Error 20 error LNK2005: __initterm_e already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib

Error 7 error LNK2005: __invalid_parameter already defined in msvcrtd.lib(MSVCR90D.dll) LIBCMTD.lib

解决方法参考:http://blog.chinaunix.net/uid-10212972-id-2969119.html

展开阅读全文

没有更多推荐了,返回首页