Sorry if this is old hat, but I don’t remember seeing it go by.

I just went through the exercise of getting Lady Heather working on MacOS X.

It’s not a Quartz port - you have to install and run XQuartz for it to work.

One patch to heather.ch was needed:

Right below the include of fcntl.h:

#ifndef SOCK_NONBLOCK
#define SOCK_NONBLOCK O_NONBLOCK
#endif

And then this Makefile:

CFLAGS+= -I/opt/X11/include -D__linux__ -Wno-write-strings
LFLAGS+= -L/opt/X11/lib 

all: heather

heather.o: heather.cpp heather.ch heathfnt.ch makefile
        g++ $(CFLAGS) -c heather.cpp

heathmsc.o: heathmsc.cpp heather.ch heathfnt.ch makefile
        g++ $(CFLAGS) -c heathmsc.cpp

heathui.o: heathui.cpp heather.ch heathfnt.ch makefile
        g++ $(CFLAGS) -c heathui.cpp

heathgps.o: heathgps.cpp heather.ch heathfnt.ch makefile
        g++ $(CFLAGS) -c heathgps.cpp

heather: heather.o heathmsc.o heathui.o heathgps.o
        g++ $(LFLAGS) heather.o heathui.o heathgps.o heathmsc.o -o heather -lm 
-lX11

clean:
        rm heather.o heathui.o heathgps.o heathmsc.o heather


_______________________________________________
time-nuts mailing list -- [email protected]
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to