cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How include Curl Library on Eclipse Project

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Wed, 31 Aug 2011 22:13:58 +0200

On Wednesday 31 August 2011 21:57:39 Demetrio Car wrote:
> I have curl installed in my linux Ubuntu. I tested it from terminal and it
> is ok. Now I want to include in my Eclipse project. I just wrote
> /usr/local/curl-7.21.7/lib in GCC C++ Linker under Library Search Path
> (-L). What else should I do? I am getting the message "undefined reference
> to `curl_easy_init'" to teste the below code.

Try to append -lcurl to linker flags.

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-31