Mail Archives: djgpp/1999/06/16/15:30:53
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 -