Mail Archives: djgpp/1998/05/30/17:46:37
On Sat, 30 May 1998 16:17:07 +0300, Amir Elisha Aharoni
<doty AT netvision DOT net DOT il> wrote:
>Hello, djgpp pros
>
>I'm learning C++, but i'm a little short of cash to get MS VC++, so this
>morning i downloaded djgpp and RHIDE, and i'm really pleased with what i
>got, except that i can't build the following:
>
>#include <iostream.h>
>
>int main()
>{
> cout << "Hello, world!" << endl;
> return 0;
>}
>
>First i had problems compiling -- it couldn't find streambuf.h; i fixed
>that by running RHIDE with -y. Now it compiles, but the linker returns
>the following error:
>
>Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
>directory (ENOENT)
>
>From the FAQ file i understood that it's some kind of standard library;
>i searched for "lstdcx" on my hard drive, it's not there.
>
>Is it really a missing file that i must download and install? If so,
>what is the name of the zip? And if not, how can i fix that?
>
>Tech info: i run it on Win95 DOS window / Pentium 166 MMX / RHIDE.
>
>Thanks in advance for your help.
>
>--
>Now playing: Tricky - Pre-Millenium Tension
>
>Amir Elisha Aharoni, the original Israelite
>mailto:dotyman AT bigfoot DOT com
>ICQ - 3816214
Regarding the error message :
Trying to compile C++ files gives:
c:/djgpp/bin/ld.exe: cannot open -1stdcx: No such file or directory
I have noticed a lot of posts in this
group about this and must admit it kept
me amused for a day and a half trying
to figure this out
Though it took a long time to find it,
the answer is documented in this file:-
D:\DJGPP\gnu\gcc-2.81\problems.txt
(I shall not reproduce it here, bandwidth etc)
Two options are suggested, the first didn't
work for me, but the second did. I thik this
may be a good item to see in the FAQ list
If anyone knows how to setup an offscreen
buffer in video ram, can they please post about it.
Happy Coding
Kevin
- Raw text -