Mail Archives: djgpp/1998/06/09/10:23:10
I have recently downloaded your djgpp compiler as well as the allegro
plug-in. I have been programming previously with MSVC++ but only for
its code editing and compiling purposes. The problem is that now it
seems your compiler has problems with some code that should work. So I
decided to code a very simple program to see if the compiler worked at
all. And I got the following error:
D:\DJGPP\BIN/ld.exe cannot open -lstdcxx: no such file or directory
(ENOENT)
DJGPP is installed on my D: drive and the environment is set up
correctly since it did attempt to compile. Any suggestions are
welcome. Please add my name to the reply line so thi answer will get to
me.
Jamie Walton
#include <iostream.h>
#include <allegro.h>
int main()
{
allegro_init();
set_gfx_mode(GFX_AUTODETECT,640,480,0,0);
int white=makecol(255,255,255);
int blue=makecol(0,0,255);
int x=50;
int y=50;
int r=10;
clear_to_color(screen,white);
circlefill(screen,x,y,r,blue);
allegro_exit();
cout<<"End of sample program"<<endl;
}
- Raw text -