| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| From: | "Stratis Aftousmis" <lsdguru78 AT hotmail DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| References: | <%Qvd8.5806$0y2 DOT 288632 AT typhoon DOT austin DOT rr DOT com> <Xns91BD97E3CBC2Fasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> |
| Subject: | Re: Having a problem compiling a program. |
| Lines: | 52 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
| Message-ID: | <A5zd8.2428$dj3.121152@typhoon.austin.rr.com> |
| Date: | Fri, 22 Feb 2002 21:53:36 GMT |
| NNTP-Posting-Host: | 24.243.4.160 |
| X-Complaints-To: | abuse AT rr DOT com |
| X-Trace: | typhoon.austin.rr.com 1014414816 24.243.4.160 (Fri, 22 Feb 2002 15:53:36 CST) |
| NNTP-Posting-Date: | Fri, 22 Feb 2002 15:53:36 CST |
| Organization: | Road Runner - Texas |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
from reply:"which means you did not read the instructions (the readme.1st
file has > that name for a reason)"
Your right i did not. But i did read the installation instuction's for
window's me
from http://www.delorie.com/djgpp/zip-picker.cgi which led me astray.
All is well now except that i get error messages when i compile, i would
like to list them here but i don't know the command to see the error
message's one page at a time. If anyone can answer that i be set, except for
the little error thing.
--
"I'm a child of the media...Ck-1 calvin klien"
Calvin klien commercial
"A. Sinan Unur" <asu1 AT cornell DOT edu> wrote in message
news:Xns91BD97E3CBC2Fasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8...
> "Stratis Aftousmis" <lsdguru78 AT hotmail DOT com> wrote in news:%Qvd8.5806
> $0y2 DOT 288632 AT typhoon DOT austin DOT rr DOT com:
>
> > Greeting's, here is the program:
> > #include <iostream.h>
> > int main()
> > {
> > cout<<"Hello, world, will i get this to work?";
> > return 0;
> > }
> > Here is the command: c:\djgpp> gcc hello.cpp -o hello.exe
> > Here is the problem:
> > In file included from hello.cpp:1:
> > djgpp.ver:1:25: No include path in which to find sys/version.h
> > hello.cpp:1:25: No include path in which to find iostream.h
> > hello.cpp: In function ' int main()":
> > hello.cpp:4: 'cout' undeclared (first use this function)
> > hello.cpp:4: (Each undeclared identifier is reported only once for each
> > function it appears in.)
> >
> > Iv'e tryed even including the header in my autoexec.bat, but now i just
> > have: SET C_INCLUDE_PATH=C:\djgpp and all my header's are there.
>
> which means you did not read the instructions (the readme.1st file has
> that name for a reason). your header files have no business inc:\djgpp
> ... they should be in the appropriate subdirectories, and you should
> never have to set C_INCLUDE_PATH unless you are adding extra stuff.
>
> delete your c:\djgpp directory, and re-unzip the distribution preserving
> the directory structure. for this either use the unzip program available
> from the ftp site, or make sure the appropriate option is set in whatever
> program you are using.
>
> sinan.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |