Index: [thread] [date] [subject] [author]
  From: Austin Fath <jaf13@duke.edu>
  To  : 
  Date: Sun, 31 Jan 1999 14:35:47 -0500

Re: Makefile

I don't want the tapestry, I just want the stl library, but I keep getting

[7] jaf13@godzilla1% gmake depend
makedepend --  -g -Wall  -- -Y main.cc exptree.cc
makedepend: warning:  main.cc, line 1: cannot find include file "iostream.h"
makedepend: warning:  main.cc (reading exptree.h, line 6): cannot find include
f
ile "iostream.h"
makedepend: warning:  main.cc (reading exptree_aux.h, line 1): cannot find
inclu
de file "iostream.h"
makedepend: warning:  main.cc (reading exptree_aux.h, line 2): cannot find
inclu
de file "string"
makedepend: warning:  main.cc, line 3: cannot find include file "stdlib.h"
makedepend: warning:  exptree.cc, line 2: cannot find include file "iostream.h"

The program only compiles with gmake and I can not get strings, only
(const class basic_string<char,string_char_traits<char>

I even copied the Makefile from Duvall's directory and I got the same errors.

Help.


Yueyi Liu wrote:

> it is specified in the handout of this project that you CANNOT use the
> CPS tapestry libraries.
>
> For the stack class, I found that the file you need to include is
> <stack>. The names of the functions are push(), pop(), and empty() (all
> lower cases).
>
> > Austin Fath wrote:
> >
> > > I thought my makefile was working, but apparently it isn't finding the
> > > stl library because I am now getting errors when I try to use stacks and
> > > atoi and other standard functions.  Is there anything that the makefile
> > > tutorial left out that I need to know?  (Especially with the COURSE_DIR,
> > > LIB_DIR, and LDFLAGS commands.
> >
> > The only change I made to mine was to comment out
> > the line that reads "LDLIBS                        = -ltapestry",
> > and it works perfectly for me so far.
> >
> > Tim
> >
> >
> >



Index: [thread] [date] [subject] [author]