Re: Example Showxml does not compile on Cygwin

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

Received on Monday, 13 January 2003 23:00:46 UTC