cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Couple problems

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 20 Dec 2008 22:25:22 +0100 (CET)

On Sat, 20 Dec 2008, gaspar exmachine wrote:

> I'm having problems with compiling a program with curl library. I'm getting
> following errors:
> [Linker error] undefined reference to `_imp__curl_easy_init'

That's a sign of (an attempt to do) static linking.

> I have build the library (curllib) and a dll (libcurld). Added them to my
> compiler (dev cpp) with headers. And it's not working.

But a dll is used for dynamic...

For the _imp__-problem the answer is here:

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

-- 
  / daniel.haxx.se
Received on 2008-12-20

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET