开发者

How do I use libcurl in Visual C++ 2010?

开发者 https://www.devze.com 2023-01-14 13:03 出处:网络
Hey guys, I was wondering if you would be able to help me use libcurl within Visual S开发者_开发技巧tudio to resolve the errors in the image below:

Hey guys, I was wondering if you would be able to help me use libcurl within Visual S开发者_开发技巧tudio to resolve the errors in the image below:

How do I use libcurl in Visual C++ 2010?

How do I use libcurl in Visual C++ 2010?


It looks like you need to update Visual Studio's configuration to include the directories where you've installed cURL. VS has directories for both Include files and libraries -- if memory serves, you'll have to add both.


I too ran into same issue. The problem is, i was pointing in additinal lib dirs to lib/LIB-Debug instead lib/DLL-Debug. Also the lib to add is libcurld_imp.lib and not libcurld.lib. Also you need to copy libcurld.dll into executable file location. I see that there are lib/LIB-Debug dir and lib file but dont know what they are for. You have to do use DLL-Release, libcurl_imp.lib etc for release mode.

0

精彩评论

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