curl-library
Re: my c Program will not see the file curl.h
Date: Mon, 15 Dec 2003 17:10:40 +0100 (CET)
On Mon, 15 Dec 2003, Dev Uniways wrote:
> I wanted to use curl and when I compil my prgram I get
>
> test1.c:6:43: curl-7.10.8/include/curl/curl.h: No such file or directory
> test1.c: In function `main':
> test1.c:13: `URL_FILE' undeclared (first use in this function)
> test1.c:13: (Each undeclared identifier is reported only once
> test1.c:13: for each function it appears in.)
> test1.c:13: `handle' undeclared (first use in this function)
> test1.c:53: parse error at end of input
>
> the file curl.h is in curl-7.10.8/include/curl/
>
> as I am linux beginner, the only thing I have done is tar -xvf
> curl-7.10.8.tar
You need to:
1. build and install curl/libcurl (see docs/INSTALL)
2. If you install libcurl on a non-standard directory, you need to pass its
include directory to gcc on the command line using -I (see your compiler's
man page)
-- 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=clickReceived on 2003-12-15