[Thread Prev][Thread Next]   >Date Index >Thread Index

Re: [wmx] Compile dies with bg .xpm's enabled

Lasse Rasinen - Fri May 14 02:33:25 1999

"ntreadwell" <ntreadwell@peapo.exeter.edu> writes:

> On a Redhat 5.9 I get "Border.C:182: 'background' undeclared"
> Ack! it works fine if bg's are ifdef'd out... any ideas?

You need to have background.xpm in the source directory. Note that the
XPM-file must also have something like this in the beginning:

static char *background[] = {
             This might be different in your file, if it is,
             change it.

Sounds like you have your own picture which is named background.xpm but
doesn't define background when interpreted as C-code.