cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl undeclared first use in this function

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 2 Aug 2013 22:29:09 +0200

On Fri, Aug 02, 2013 at 01:05:47PM +0200, mailbox20112002-SED wrote:
> Thanks to reply
>
> I try to make a small program for download jpg images.
>
> Curl on my pc, is installed properly?
> Look pkg-config:
> G:\MinGW\bin>pkg-config libcurl --libs --cflags
> @CPPFLAG_CURL_STATICLIB@ -IG:/MinGW/include -LG:/MinGW/lib -lcurl
[...]
> G:\MinGW\bin\mingw32-gcc.exe -IG:\MinGW\include -LG:\MinGW\lib -lcurl -lcrypto
> -lidn -lrtmp -lssh2 -lz -o simple.exe simple.c
> G:\DOCUME~1\ADMINI~1\IMPOST~1\Temp/ccucOm20.o:simple.c:(.text+0x2b):
> undefined r
> eference to `_imp__curl_easy_init'

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

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-08-02