www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/30/22:17:13

From: "BP" <bport AT direct DOT ca>
Newsgroups: comp.os.msdos.djgpp
References: <199910291614 DOT MAA00697 AT newton DOT wadsworth DOT org>
Subject: Re: compiler - include file problem
Lines: 70
Organization: EAC
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <ZLMS3.4017$LX2.167631@brie.direct.ca>
Date: Sat, 30 Oct 1999 18:30:47 -0700
NNTP-Posting-Host: 216.66.139.189
X-Complaints-To: abuse AT direct DOT ca
X-Trace: brie.direct.ca 941332601 216.66.139.189 (Sat, 30 Oct 1999 18:16:41 PDT)
NNTP-Posting-Date: Sat, 30 Oct 1999 18:16:41 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

It seems that you have the long filename problem.  The file, streambuf,
contains nine letters, so you must have the LFN=y  variable in your
djgpp.env file.
The DJGPP zip files should also have been extracted with a program
(winzip.exe) that supports long filenames.

Does that work?

Sadia Halim <halim AT wadsworth DOT org> wrote in message
news:199910291614 DOT MAA00697 AT newton DOT wadsworth DOT org...
> Mr. Delorie,
>
> I have recently begun teaching myself C++.  I bought SAMS Teach Yourself
> C++ in
> 24 hours as an introduction.  The cd that accompanied that book came with
the
> djgpp compiler and all of the source code that can be downloaded from the
web
> site.  I installed the compiler and all the files from the cd and began
> writing
> my first program; the basic "hello world" program.   The code was as
follows:
>
> #include <iostream.h>
>
> int main()
> {
> cout << "Hello World!\n"
> return 0;
> }
>
> I tried to compile this from both the command line and from RHIDE and got
the
> same error:
>
>       In file included from hello.cpp:1:
>       c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No Such       File or
> Directory(ENOENT)
>
> I went to the c:/djgpp/lang/cxx/iostream.h and opened the file.  I saw
where
> the library made the call to the streambuf.h .  I looked in the
> c:/djgpp/lang/cxx directory and saw the streambuf.h file.  I attempted to
look
> at the on-line FAQ's and other sources of info but could not find anything
> just
> like this.  Any assistance you could provide would be greatly appreciated.
> Thank you for your time.
>
>
> Sadia Halim
>
>
> ************************************
> Department of Biomedical Sciences
> School of Public Health
> State University of New York at Albany
>
> David Axelrod Institute
> Wadsworth Center for Laboratories and Research
> New York State Department of Health
> P.O. Box 22002
> Albany, NY 12201-2002
>
> halim AT wadsworth DOT org
> lab  (518)486-1272
>           486-1280
> fax  (518)474-3181


- Raw text -


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