cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl library routines

From: Gene Moore via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 17 Feb 2016 18:17:51 -0500

I had found that reference before. That section refers to building with a
static library. I'm using dynamic dll. It doesn't say anything about that.
 
Thanks,
Gene Moore
Charlie Horse Ranch Timing Systems
chrtsi_at_aol.com
916-275-3277
www.charhorseranch.com

 
In a message dated 2/17/2016 2:19:00 P.M. Pacific Standard Time,
dan_at_coneharvesters.com writes:

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

_ (http://www.charhorseranch.com/)

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