www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/19/13:18:50

Message-ID: <003c01c0b0a0$eceec1e0$6801a8c0@red>
From: "Michael Reddington" <m DOT reddington AT worldnet DOT att DOT net>
To: <djgpp AT delorie DOT com>
Subject: curses.h follow-up
Date: Mon, 19 Mar 2001 13:17:49 -0500
MIME-Version: 1.0
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>
<DIV><FONT size=3D2>Hello,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV>I have included my Makefile below.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>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.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>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:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Curses.h:No such file or directory =
(ENOENT)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I am able to find Curses.h in =
c:\djgpp\contrib\pdcurs22&nbsp;=20
but I cannot get the compiler to find curses.h when =
compiling.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>MAKEFILE:</DIV>
<DIV>&nbsp;</DIV>
<DIV>OBJ =3D MAIN.o&nbsp; FNDOVRLP.o&nbsp; GRID.o&nbsp; INCRFNAM.o&nbsp; =

NEWNAME.o&nbsp; READNAME.o \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
SIMULATE.o&nbsp;=20
SNAPFACE.o&nbsp; SURVEY.o&nbsp; TRNSNAME.o <BR>OBJ2 =3D MENU1.o&nbsp;=20
MENU1GET.o&nbsp; USERIO.o&nbsp; SCREEN.o<BR>INC =3D SNAPROTO.h&nbsp;=20
SNAPSHOT.h&nbsp; MENU1LIB.h&nbsp; ENVIRON.h<BR>OBJ3 =3D =
nrutil.o&nbsp;&nbsp;=20
pmin.o<BR>OBJ4 =3D tri.o canopy.o probe.o diss.o init.o svd.o centre.o=20
cand.o<BR>INC3 =3D base.h&nbsp; template.h</DIV>
<DIV>&nbsp;</DIV>
<DIV>snap:&nbsp;$(OBJ) $(OBJ2) $(INC) $(INC3) $(OBJ3) $(OBJ4) =
<BR>&nbsp;gcc -g=20
-o survey&nbsp; $(OBJ) $(OBJ2) $(OBJ3) $(OBJ4)&nbsp; -lm -lcurses=20
-ltermcap</DIV>
<DIV>&nbsp;</DIV>
<DIV>.c.o:&nbsp;&nbsp; ;&nbsp;&nbsp;&nbsp;&nbsp; gcc -g -c $*.c</DIV>
<DIV>&nbsp;</DIV>
<DIV>psnap:&nbsp;$(OBJ) $(OBJ2) $(INC) $(OBJ3) <BR>&nbsp;purify=20
-logfile=3Dpure_log&nbsp; gcc -g -o psnap&nbsp; $(OBJ) $(OBJ2)&nbsp; -lm =

\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lcurses=20
-ltermcap</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Thank you for your time and =
consideration.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Mike =
Reddington</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0039_01C0B076.FF0DD520--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019