开发者

curl linkage errors

开发者 https://www.devze.com 2023-02-26 04:15 出处:网络
I\'m building a C++ project using curl in Visual Studio 2008. I get linker errors for every curl function I\'m using:

I'm building a C++ project using curl in Visual Studio 2008. I get linker errors for every curl function I'm using: error LNK2019: unresolved external symbol _curl_multi_add_handle referenced in function

As mentioned in the FAQ section 5.7 in http://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur I'm linking against static libraries, and have specified CURL_STATICLIB in the PreProcessor definitions, but still I face the same problem. It is as if the static libraries are not there, even though I have specified the lib directory containing the static libs in my project library path. What else can one do?开发者_Python百科 Please help before I shoot myself.


Goddammit, I did not specify the library name in the Additional libraries option.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号