I am trying to build the ncurses version pmars, but I am getting errors compiling it. Here are the relevant lines from the Makefile:
CFLAGS = -O -DEXT94 -DPERMUTATE -DGRAPHX
LFLAGS = -x
LIB = -lcurses # enable this one for curses display
When I try and run the make I get this:
In file included from sim.c:89:0:
lnxdisp.c:93:17: error: static declaration of ‘processRatio’ follows non-static
declaration
static int processRatio; /* ratio pixel of process meter to process */
^
In file included from lnxdisp.c:27:0,
from sim.c:89:
lnxdisp.h:36:17: note: previous declaration of ‘processRatio’ was here
extern int processRatio; /* ratio pixel of process meter to process */
^
I am compiling on Ubuntu 16.04 and want the curses/ncurses version... Any help appreciated!