Message-ID: <003c01c0b0a0$eceec1e0$6801a8c0@red> From: "Michael Reddington" To: Subject: curses.h follow-up Date: Mon, 19 Mar 2001 13:17:49 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0039_01C0B076.FF0DD520" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0039_01C0B076.FF0DD520 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have included my Makefile below. I have searched the available resources and tried every possible = variation I can think of but have not been able to resolve the below = problem. I have a program which compiles and runs both on a Sun system and Linux = with no compiling or run-time errors. I use the same makefile for each = environment. I have tried to compile using the DJGPP libraries and have = compiled about half the source files but get the following error = messages: Curses.h:No such file or directory (ENOENT) I am able to find Curses.h in c:\djgpp\contrib\pdcurs22 but I cannot = get the compiler to find curses.h when compiling. MAKEFILE: OBJ =3D MAIN.o FNDOVRLP.o GRID.o INCRFNAM.o NEWNAME.o READNAME.o \ SIMULATE.o SNAPFACE.o SURVEY.o TRNSNAME.o=20 OBJ2 =3D MENU1.o MENU1GET.o USERIO.o SCREEN.o INC =3D SNAPROTO.h SNAPSHOT.h MENU1LIB.h ENVIRON.h OBJ3 =3D nrutil.o pmin.o OBJ4 =3D tri.o canopy.o probe.o diss.o init.o svd.o centre.o cand.o INC3 =3D base.h template.h snap: $(OBJ) $(OBJ2) $(INC) $(INC3) $(OBJ3) $(OBJ4)=20 gcc -g -o survey $(OBJ) $(OBJ2) $(OBJ3) $(OBJ4) -lm -lcurses = -ltermcap .c.o: ; gcc -g -c $*.c psnap: $(OBJ) $(OBJ2) $(INC) $(OBJ3)=20 purify -logfile=3Dpure_log gcc -g -o psnap $(OBJ) $(OBJ2) -lm \ -lcurses -ltermcap Thank you for your time and consideration. Mike Reddington ------=_NextPart_000_0039_01C0B076.FF0DD520 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I have included my Makefile below.
 
I have searched the available resources and tried = every=20 possible variation I can think of but have not been able to resolve the = below=20 problem.
 
I have a program which compiles and runs both on a = Sun system=20 and Linux with no compiling or run-time errors. I use the same makefile = for each=20 environment. I have tried to compile using the DJGPP libraries and have = compiled=20 about half the source files but get the following error = messages:
 
Curses.h:No such file or directory = (ENOENT)
 
I am able to find Curses.h in = c:\djgpp\contrib\pdcurs22 =20 but I cannot get the compiler to find curses.h when = compiling.
 
 
MAKEFILE:
 
OBJ =3D MAIN.o  FNDOVRLP.o  GRID.o  INCRFNAM.o  = NEWNAME.o  READNAME.o \
      = SIMULATE.o =20 SNAPFACE.o  SURVEY.o  TRNSNAME.o
OBJ2 =3D MENU1.o =20 MENU1GET.o  USERIO.o  SCREEN.o
INC =3D SNAPROTO.h =20 SNAPSHOT.h  MENU1LIB.h  ENVIRON.h
OBJ3 =3D = nrutil.o  =20 pmin.o
OBJ4 =3D tri.o canopy.o probe.o diss.o init.o svd.o centre.o=20 cand.o
INC3 =3D base.h  template.h
 
snap: $(OBJ) $(OBJ2) $(INC) $(INC3) $(OBJ3) $(OBJ4) =
 gcc -g=20 -o survey  $(OBJ) $(OBJ2) $(OBJ3) $(OBJ4)  -lm -lcurses=20 -ltermcap
 
.c.o:   ;     gcc -g -c $*.c
 
psnap: $(OBJ) $(OBJ2) $(INC) $(OBJ3)
 purify=20 -logfile=3Dpure_log  gcc -g -o psnap  $(OBJ) $(OBJ2)  -lm = \
          -lcurses=20 -ltermcap
 
 
 
 
 
Thank you for your time and = consideration.
 
 
Mike = Reddington
------=_NextPart_000_0039_01C0B076.FF0DD520--