Mail Archives: djgpp/1999/04/27/23:10:20
--------------F32CC5EA02B9174BE9A859BD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi !
DJGPP is a great compiler for my C programming class. Now, I'm trying
to learn C++ with it. I tried to compile my first program, and was
given the following error.
"In file included from a.cc:1:
c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
(ENOENT)"
What's my problem ?
= = = Ok, I tried to solve the problem on my own, but ran into a loop
hole. Please help me. ===
I went into djgpp/lang/cxx to find iostream.h. "iostream.h" was there,
but streambuf.h wasn't. It was called streambu.h instead. I renamed
the file to "streambuf.h". Compiled it. Now, it tells me:
"In file included from c:djgpp/lang/cxx/streambuf.h:36,
from c:djgpp/lang/cxx/iostream.h:31,
from a.cc:1:
c:/djgpp/lang/cxx/liblio.h:30: _G_config.h: No such file or directory
(ENOENT)"
I found "liblio.h", but no "_G_config.h". Instead I found "_G_confi.h"
Compiled it and now got some errors that I can't even guess as to what
to do.
c:/djgpp/tmp\ccca1brl(.text+0x19):a.cc: undefined reference to 'cout'
c:/djgpp/tmp\ccca1brl(.text+0x1e):a.cc: undefined reference to
'ostream:operator<<(char const *)'
= = = =
Thank you for your time.
With gratitude,
Andy.
--------------F32CC5EA02B9174BE9A859BD
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi !
<p>DJGPP is a great compiler for my C programming class. Now, I'm
trying to learn C++ with it. I tried to compile my first program,
and was given the following error.
<p>"In file included from a.cc:1:
<br>c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
(ENOENT)"<b></b>
<p>What's my problem ?
<p>= = = Ok, I tried to solve the problem on my own, but ran into a loop
hole. Please help me. ===
<br>I went into djgpp/lang/cxx to find iostream.h. "iostream.h" was
there, but streambuf.h wasn't. It was called streambu.h instead.
I renamed the file to "streambuf.h". Compiled it. Now, it tells
me:
<p>"In file included from c:djgpp/lang/cxx/streambuf.h:36,
<br>
from c:djgpp/lang/cxx/iostream.h:31,
<br>
from a.cc:1:
<br>c:/djgpp/lang/cxx/liblio.h:30: _G_config.h: No such file or directory
(ENOENT)"
<p>I found "liblio.h", but no "_G_config.h". Instead I found "_G_confi.h"
<p>Compiled it and now got some errors that I can't even guess as to what
to do.
<p>c:/djgpp/tmp\ccca1brl(.text+0x19):a.cc: undefined reference to 'cout'
<br>c:/djgpp/tmp\ccca1brl(.text+0x1e):a.cc: undefined reference to 'ostream:operator<<(char
const *)'
<p>= = = =
<p>Thank you for your time.
<p>With gratitude,
<p>Andy.</html>
--------------F32CC5EA02B9174BE9A859BD--
- Raw text -