Installing libCURL on VC++11 - Unresolved External Symbols Error

I've spent far more time than I would have liked attempting to get libcURL working on VC++11. I followed the steps here: http://quantcorner.wordpress.com/2012/04/08/using-libcurl-with-visual-c-2010/

Those steps appear to have worked for others on the board, however I am getting unresolved external symbol errors and it will not compile. The errors look like this:

Error   4   error LNK2019: unresolved external symbol _curl_easy_init referenced in function "int __cdecl run(void)" (?run@@YAHXZ)  C:\Users\ryant_000\Documents\Visual Studio 2012\Projects\Phase 2\Phase 2\LIBCURLFIRST.obj   Phase 2
Error   6   error LNK2019: unresolved external symbol _curl_easy_perform referenced in function "int __cdecl run(void)" (?run@@YAHXZ)   C:\Users\ryant_000\Documents\Visual Studio 2012\Projects\Phase 2\Phase 2\LIBCURLFIRST.obj   Phase 2
Error   5   error LNK2019: unresolved external symbol _curl_easy_setopt referenced in function "int __cdecl run(void)" (?run@@YAHXZ)    C:\Users\ryant_000\Documents\Visual Studio 2012\Projects\Phase 2\Phase 2\LIBCURLFIRST.obj   Phase 2

Here is my linker settings:

Include Directories:

C:\thirdparty\vs2012\x86\libcurl-7.19.3-win32-ssl-msvc\include\curl

Library Directories:

C:\thirdparty\vs2012\x86\libcurl-7.19.3-win32-ssl-msvc\lib\Debug

Additional Dependencies:

C:\thirdparty\vs2012\x86\libcurl-7.19.3-win32-ssl-svc\lib\Debug\curllib.lib

Has anyone else experienced this and have a solution or a thought? Thanks a lot...

Answers


You need to add libcurl.lib (release) or libcurld.lib (debug) as an Additional Dependency on the Linker Input tab of your project properties.


Need Your Help

Insert HTML directly in PDF using itextsharp

c# itextsharp

I have WPF application in which user enters some text in rich text box(rtb), I convert that rtb string to HTML and then convert that HTML to image and then insert it in the PDF document

Magento pagination products

magento magento-1.6

I have a problem with Magento pagination.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.