cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem using cURL

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 17 Dec 2003 15:57:44 +0100 (CET)

On Wed, 17 Dec 2003, Dev Uniways wrote:

> [root_at_unilinux c]# cc test1.c -o test1
> test1.c:6:36: curl/include/curl/curl.h: No such file or directory

You use a bad include file (or path).

> test1.c: In function `main':
> test1.c:13: `URL_FILE' undeclared (first use in this function)

URL_FILE is not a type defined by any curl header, and is not a standard type
either.

> I would like to assure your that curl.h is in curl/include/curl/

... well, then you need to do some magic to tell your compiler that it is
mistaking.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-17