cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl library routines

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 17 Feb 2016 23:18:37 +0100

On Wed, Feb 17, 2016 at 05:01:53PM -0500, Gene Moore via curl-library wrote:
> I have Windows 10 with Visual Studio 2013. I am trying to use libcurl. I
> installed it using NuGet for a test project. It compiles cleanly, but I get the
> following unresolved externals when I link:
>
> >CurlpostDlg.obj : error LNK2001: unresolved external symbol
> __imp__curl_easy_init
> 1>CurlpostDlg.obj : error LNK2001: unresolved external symbol
> __imp__curl_easy_setopt
> 1>CurlpostDlg.obj : error LNK2001: unresolved external symbol
> __imp__curl_easy_perform
> 1>CurlpostDlg.obj : error LNK2001: unresolved external symbol
> __imp__curl_easy_cleanup
>
> I'm assuming NuGet didn't point to the correct library (it's using Dynamic
> dll), but I don't know how to fix it. If it make a difference, my application
> is a dialog, not a console application.
>
> Any suggestions would be appreciated.

https://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-02-17