delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/16/15:30:53

From: Justin Wozniak <jmwoznia AT students DOT uiuc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Cpp include directories
Date: Wed, 16 Jun 1999 11:38:51 -0500
Organization: University of Illinois at Urbana-Champaign
Lines: 67
Message-ID: <Pine.GSO.4.10.9906161131010.6933-100000@ux13.cso.uiuc.edu>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990610134658 DOT 29131C-100000 AT is> <3760AD94 DOT 847326BD AT nospam DOT com> <37620333 DOT B4939BB7 AT nospam DOT com>
NNTP-Posting-Host: ux13.cso.uiuc.edu
Mime-Version: 1.0
X-Sender: jmwoznia AT ux13 DOT cso DOT uiuc DOT edu
In-Reply-To: <37620333.B4939BB7@nospam.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hello
	I'm having similar trouble getting the basic #include files.
When I #include <iostream.h> , it then tries to include streambuf.h
(because iostream.h needs that file).  But it says it cannot find
streambuf.h, even though I know that streambuf.h is in the directory WITH
iostream.h .  Does anyone know what is causing this problem?
	I'm looking through the djgpp.env file.  Also, what does
%/>;CPLUS_INCLUDE_PATH% mean?  Where does this come from?
	Thanks!
	Justin

--



On Fri, 11 Jun 1999, Ryan wrote:

> Date: Fri, 11 Jun 1999 23:50:27 -0700
> From: Ryan <rdm AT nospam DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Subject: Re: Cpp include directories
> 
> hmmm... I think I answered my own question.... I realized after reading the documentation a little closer that I messed
> up.  Now my djgpp.env reads:
> [cpp]
> CPLUS_INCLUDE_PATH=%/>RSXNTDJ%/include/win32;%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include
> C_INCLUDE_PATH=%/>RSXNTDJ%/include/win32;%/>;C_INCLUDE_PATH%%DJDIR%/include
> OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
> OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
> and everything works fine.
> Thanks for y'all's help.
> 
> Ryan
> 
> 
> Ryan wrote:
> 
> > I did.  Thats what confuses me. Here's the lines from my djgpp.env file
> >
> > [cpp]
> > CPLUS_INCLUDE_PATH=/ryan/djgpp/rsxntdj/include/win32/;%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;
> >
> > C_INCLUDE_PATH=%/>;/ryan/djgpp/rsxntdj/include/win32/;C_INCLUDE_PATH%%DJDIR%/include;%RSXNTDJ/include/win32
> >
> > OBJCPLUS_INCLUDE_PATH=%/>;/ryan/djgpp/rsxntdj/include/win32;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
> >
> > OBJC_INCLUDE_PATH=%/>;/ryan/djgpp/rsxntdj/include/win32;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
> >
> > RES_INCLUDE_PATH=/ryan/djgpp/rsxntdj/include/win32/;%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;
> >
> > having c:\ryan\djgpp\rsxntdj as my rsxntdj path
> >
> > Eli Zaretskii wrote:
> >
> > > On Wed, 9 Jun 1999, Ryan wrote:
> > >
> > > > I'm trying to use DJGPP+RSXNTDJ v1.5 to compile C++ programs.  I've
> > > > gotten it all working except for making res files.  The example I'm
> > > > trying to compile has an include statement in it, but cpp won't search
> > > > the rsxntdj include directory.
> > >
> > > Try adding RSXNTDJ include directory to CPLUS_INCLUDE_PATH.
> 
> 
> 


- Raw text -


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