cURL / Mailing Lists / curl-library / Single Mail

curl-library

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