www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/25/09:51:08

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
X-Envelope-From: ian AT barnet DOT win-uk DOT net
From: "Ian" <ian AT barnet DOT win-uk DOT net>
To: djgpp AT delorie DOT com
Date: Mon, 25 Feb 2002 14:25:13 -0000
MIME-Version: 1.0
Subject: Missing Help and header files
Message-ID: <3C7A4949.20276.138CE9F1@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp AT delorie DOT com

Missing info and header files
==============================
DJGPP version 303 using WIN 98 SE

I have a whole load of files which worked OK with DJGPP version 
2.7xxxx but now do not compile with CGG version 303.

I have deleted all the files associated with the old version and 
reinstalled the new one.

I would be most grate full for any help in resolving some of these.

Thanks in advance,

Ian Davidson.

-----------------------------------------------------
1. info can't find a file.
when I run "info" I see:

From lgpnnnb.zip
* iostream
    ...
* libgpp
    ...
I have installed lgp2952b.zip and the link to libgpp is OK,
but info still reports "iostream NO SUCH FILE OR DIRECTORY 
(NOENT)"
when I attempt to access * iostream.

-----------------------------------------------------
2. C++ can't find header file.
The following program fails:
#include <strclass.h>
#include <iostream.h>

the error is:
strclass.h: No such file or directory (ENOENT)

The other header file, iostream.h, is read in OK.

The files are on the system as:
C:\User\programs\djgpp\lang\cxx\strclass.h
C:\User\programs\djgpp\lang\cxx-v3\backward\iostream.h

The file C:\User\programs\djgpp\djgpp.env contains the following:
[cpp]
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR
%/lang/cxx;%DJDIR%/include
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include
OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%
%DJDIR%/include;%DJDIR%/lang/objc
OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/i
nclude;%DJDIR%/lang/objc

I have tried using the full path name in the include file, but the 
include files that
the header file itself includes are not found!!
#include "strclass.h"   // this doesn't work either

The following command line also fails (same error)
gcc -IDIR c:\user\programs\djgpp\lang\cxx myfile.cpp


- Raw text -


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