Date: Sun, 12 Oct 1997 18:23:32 -0700 (PDT) Message-Id: <199710130123.SAA19989@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: quintero AT swbell DOT net, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Installing DJGPP Precedence: bulk At 11:41 10/10/1997 -0700, quintero AT swbell DOT net wrote: >Hello, >I recently installed DJGPP from the simtel mirror sites (DJGPP v 2.01) >and have had problems trying to compile stuff afterwards such as >allegro, cheap programs (mine) etc...Every time I run it, it gives me >hell about the #include header file it says "file not found >or it's non-existant (ENOENT)" here is an example of one of the >programs: > >/* Just prints out a few words */ >#include > >int main() >{ >clrscr(); >cout<<"If this does not work, I am throwing my computer "; >cout<<"out the window!!!"<<'\n'; >return 0; >} > >it also says "Implicit use of clrscr(...)" (something like that). Add #include if you want to use clrscr() and such. Note that it's not advised to mix conio functions with standard stream I/O. >I have used RHIDE 1.3b,1.3c and it also gives me an error compiling >about not finding the file "crt0.o". And when I compile Allegro using >the makefile, it says something about "badtarget". I'm getting quite >pissed at my computer. I have set up DJ a few times thinking it was just >an error installing. I have set up my dj environments and stuff, but >nothing seems to work. My Dj compiler and everythingis in e:\dj. Someone >please help me!! I'm desperate! Many thanks, Please post the exact command line you use to compile, and the messages generated. Also: Be sure you have the libgpp* package. You need it for C++. Make sure your DJGPP variable is set like "SET DJGPP=e:/dj/djgpp.env"; not having this could cause all your problems. Check that the crt0.o file is present in the /dj/lib directory. Also post your AUTOEXEC.BAT and CONFIG.SYS files, and what OS you use, if this doesn't help. Nate Eldredge eldredge AT ap DOT net