From: Justin Wozniak Newsgroups: comp.os.msdos.djgpp Subject: Re: Cpp include directories Date: Wed, 16 Jun 1999 12:01:15 -0500 Organization: University of Illinois at Urbana-Champaign Lines: 84 Message-ID: References: <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 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: jmwoznia AT ux13 DOT cso DOT uiuc DOT edu In-Reply-To: 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 Precedence: bulk I'm using NT. Is this because of the LFN problem they mention in the FAQ? -- On Wed, 16 Jun 1999, Justin Wozniak wrote: > Date: Wed, 16 Jun 1999 11:38:51 -0500 > From: Justin Wozniak > Newsgroups: comp.os.msdos.djgpp > Subject: Re: Cpp include directories > > Hello > I'm having similar trouble getting the basic #include files. > When I #include , 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 > > 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. > > > > > > > > > >