From: Ryan Newsgroups: comp.os.msdos.djgpp Subject: Re: Cpp include directories Date: Fri, 11 Jun 1999 23:50:27 -0700 Organization: Inlink Lines: 41 Message-ID: <37620333.B4939BB7@nospam.com> References: <3760AD94 DOT 847326BD AT nospam DOT com> NNTP-Posting-Host: iits01162.inlink.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news1.inlink.com 929163277 11542 209.135.140.162 (12 Jun 1999 04:54:37 GMT) X-Complaints-To: usenet AT news DOT inlink DOT com NNTP-Posting-Date: 12 Jun 1999 04:54:37 GMT X-Mailer: Mozilla 4.51 [en] (Win95; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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.