Mail Archives: djgpp/1997/05/03/04:11:17
adamk AT pacbell DOT net wrote:
>
> I am very desperate here. I connot figure out why I cannot program
> anything. AND IT'S ALL BECAUSE OF MY IOSTREAM.H! It seems no one can
> help me. I am thinking it has something to do with my
> Autoexec.bat. I made the thing by "edit autoexec.bat" in C:/DJGPP. And
> this is what it looks like.
> set djgpp=c:/djgpp/djgpp.env
> c:\djgpp\bin
> path=c:\dos;c:\bin;c:\tc\bin
> path=c:\dos;c:\bin;c:\djgpp\bin;c:\tc\bin
>
> This is exactly how it looks..Am I suppose to put something where path
> is? I realy have no idea, I sure hope someone can help me.
Not exactly a DOS guru, are you? ;) First, 'autoexec.bat' goes in the
root directory of your boot drive. In most computers, this is the C:\
directory. Second, try taking out lines 2 and 3 completely. All you
need is the following:
path=c:\dos;c:\bin;c:\djgpp\bin;c:\tc\bin
set djgpp=c:/djgpp/djgpp.env
If you're running Win95, examine the DOS box properties sheet to make
sure that the 'autoexec.bat' and 'config.sys' are set up properly (I'm
not exactly sure how to do this, because I don't have Win95).
Now, examine the remaining items on the standard checklist:
- You downloaded and installed the C++ libraries, 'v2/lgp271b.zip'.
- You unzipped ALL packages with the '-d' switch, to preserve the
built-in directory structure.
- 'iostream.h' is actually in c:\djgpp\lang\cxx\.
- You're compiling your program with the correct command line.
There is a lot more information on correct setup in chapter 6 of the
DJGPP FAQ (v2/faq210b.zip). If all else fails, follow the format in
chapter 6.12 to create a system report that can be posted on this
newsgroup.
In the future, please try to follow the recommended format for posting
configuration questions. There's a reason we ask you to do it that way.
hth
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| Plan: To find ANYONE willing to | http://www.cs.com/fighteer |
| play Descent 2 on DWANGO! | Tagline: <this space for rent> |
---------------------------------------------------------------------
- Raw text -