This is the mail archive of the cygwin-xfree@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Problem compiling Lesstif 0.89.9



Hello,

What this has to do with Cygwin-xfree list?

Regardsless, yes that was the problem when I compiled LessTif 0.89.9
for Cygwin.

The work around was to patch the screens.c file.  From
/usr/X11R6/include/X11/bitmaps/stipple
copy everything and at the top of
screen.c part it, protected by #ifdef __CYGWIN__

Or you could get precompiled binaries from LessTIf ftp server

Have fun.

> -----Original Message-----
> From: cygwin-xfree-owner@sourceware.cygnus.com
> [mailto:cygwin-xfree-owner@sourceware.cygnus.com]On Behalf Of Pavel
> Roskin
> Sent: Tuesday, March 28, 2000 1:25 PM
> To: Lamb, Ronald F.
> Cc: cygwin-xfree@sourceware.cygnus.com; lesstif@hungry.com
> Subject: Re: Problem compiling Lesstif 0.89.9
>
>
> Hello, Ronald!
>
> > I am getting the errors listed below when I try to make Lesstif.
>
> > screens.c: In function `create_menu_gcs':
> > screens.c:87: `stipple_bits' undeclared (first use in this function)
> > screens.c:87: (Each undeclared identifier is reported only once
> > screens.c:87: for each function it appears in.)
> > screens.c:88: `stipple_width' undeclared (first use in this function)
> > screens.c:88: `stipple_height' undeclared (first use in this function)
> > screens.c: At top level:
> > /usr/X11R6/include/X11/bitmaps/stipple:3: warning:
> `Stipple_bits' defined
> > but not used
>
> It's a filesystem problem. On Unix, you have both
> /usr/X11R6/include/X11/bitmaps/stipple and
> /usr/X11R6/include/X11/bitmaps/Stipple
>
> Those files cannot coexist on Windows. Move `Stipple' away and place
> `stipple' from e.g. a Linux machine to /usr/X11R6/include/X11/bitmaps/
>
> You should have reported the problem to the Lesstif mailing list (I'm
> doing it for you now). The workaround is absolutely trivial - it's just a
> matter of embedding the `stipple' bitmap into screens.c
>
> Thank you for the report.
>
> Pavel Roskin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]