| delorie.com/archives/browse.cgi | search |
| From: | "Reijo Niemi" <culmen AT hotmail DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | setting up DJGPP |
| Date: | Sun, 26 Jul 1998 20:22:25 +0300 |
| Organization: | Scifi Communications International, http://www.sci.fi/, helpdesk AT sci DOT fi, +358 3 2899111 |
| Lines: | 35 |
| Message-ID: | <6pfoae$8m0$1@tron.sci.fi> |
| NNTP-Posting-Host: | tku207.pp.dlc.fi |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I've been trying to set up DJGPP for c++-programming and done everything
according to instructions. yet when I try to compile following little
test-program, I get error message.
----------------------------------------------------------------------------
#include <iostream.h>
int main()
{
cout << "Hello, protected mode world!" << endl;
return 0;
}
----------------------------------------------------------------------------
I tried the compiling with command:
gcc -o hello2.exe hello2.cc -liostream
I also tried it with gxx and without -liostream but no luck.
I did this in W95's DOS-window.
The error message is as follows:
In file included from hello2.cc:2:
c:\djgpp\lang\cxx\iostream.h:31: streambuf.h: No such file or directory
(ENOENT)
and the weird thing is that I do have that file and directory.
I would be happy if someone could help me.
Reijo Niemi
reizak AT dlc DOT fi
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |