Re: Example Showxml does not compile on Cygwin

"Eran \"DarkEye\" Uzan" <[email protected]>
Newsgroups gmane.comp.lib.libwww
Message-ID <20030114040001.BVZY911.fep3@there>
On Sunday 12 January 2003 14:49, Frank Traenkle wrote:
> Hi,
>
> I encounter problems compiling w3c-libwww-5.3.2 on CYGWIN_NT-5.1
> 1.3.18(0.69/3/2). I get the following error:
>
> Making all in Examples
> make[3]: Entering directory
> `/usr/local/src/w3c-libwww-5.3.2/Library/Examples'
> gcc-2 -g -O2    showxml.c   -o showxml
> showxml.c:19: WWWLib.h: No such file or directory
> showxml.c:20: WWWInit.h: No such file or directory
> showxml.c:21: WWWXML.h: No such file or directory
>
>
> The settings for gcc-2 are obviously incorrect.
>
> Frank

try adding " `libwww-config --cflags` " to the gcc line this or set the 
envirment variable C_PLUS_INCLUDE_PATH to the libwww include lib (normaly 
/usr/include/w3c-libwww) this should take care of the "no such file" problem.

darkeye
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.