www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/13/06:16:40

From: "A. Darrow" <msmsh AT freewwweb DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Newbie frustration: headers not found
Date: Tue, 12 Oct 1999 23:29:18 -0700
Organization: Posted via Supernews, http://www.supernews.com
Lines: 116
Message-ID: <s082ndhebhk62@corp.supernews.com>
X-Complaints-To: newsabuse AT supernews DOT com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Now matter what I do:

C:/djgpp/lang/cxx/iostream.h:31:streambuf.h:No such file or directory
(ENOENT)

I'm not sure I understand whether both files are unrecognized or both. Only
streambuf.h exceeds the 8+3 DOS file naming length which I am assuming is
the
problem.

I have read Section 8.2 of the FAQ and have tried all pertinent suggestions
except
unzipping with unzip32; I use WinZip 7.0 which supposedly has LFN support
and
caused no problem in unzipping. LFN support is evident in Windows95 and in
DOS,
since I can use Norton Diskedit (A DOS mode program) and read
iostream.h/streambuf.h
in LFN entries, although I'm not sure that proves anything.

I have also tried a separate LFN=Y entry in Autoexec.bat (even though
dgjpp.env has
this set to Y) to no avail.

Yes, I've booted after rem-ing out the Norton antivirus line.

I am running Win95 OSR2 on a Pavilion P166 and have downloaded and
installed(unzipped)
the latest DJGPP environment for C++:

djdev202.zip
bnu281b.zip
gcc2951b.zip
gpp2951b.zip
lgpp295b.zip

I don't think there is anything wrong with the source code; its too simple

#include <iostream.h>

float ComputePay(float hours, float rate)  {
 float pay;
 pay = hours * rate;
 return pay;
}

main ()  {
 float hours;
 float payrate;
 hours = 40;
 payrate = 12.50;
 cout << "The pay is: "  <<  ComputePay(hours,payrate) << "\n";
 return 0;

}

I have also read about the registry hack disabling the "numeric tails" of
the
system, but hesitate to do that since the error message is the same whether
I
try to compile under a DOS box or actually boot to a command prompt.


I'M AT THE POINT WHERE I FEEL THE NEED TO JUNK THE WHOLE THING!  CAN ANYONE
HELP?



CONFIG.SYS

REM To make a DOS Boot Diskette; See the file C:\DOSBOOT\DOSBOOT.TXT

[common]
device=c:\windows\himem.sys /testmem:off
dos=high,umb
buffers=40
files=30

rem The below DOS CD ROM driver is not required to run Windows 95.
DEVICEHIGH = C:\cdrom\TATUNGCD.SYS /D:IDECD000

rem configure the sound system
device=C:\WINDOWS\cwbinit.exe /A


AUTOEXEC.BAT

@C:\PROGRA~1\NORTON~1\NORTON~2\NAVDX.EXE /Startup


@ECHO OFF
REM To make a DOS Boot Diskette; See the file C:\DOSBOOT\DOSBOOT.TXT

SET BLASTER=A220 I5 D1 T4

rem Set the DOS audio mixer settings
c:\windows\cwbmix /m=13 /w=12 /f=15 /c=15

path C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND

set DJGPP=C:\djgpp\djgpp.env


ENV.LST

TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
BLASTER=A220 I5 D1 T4
PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND
DJGPP=C:\djgpp\djgpp.env



- Raw text -


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