Mail Archives: djgpp/2000/01/09/18:26:22
On 9 Jan 00, at 18:55, rmni wrote:
> hello!
> tanx for your anwser!
> but i still dont know what to compile!
> would you be so kind to mail me the answer?
> tanks
> rmni AT excite DOT com
>
Please goto the directory where you installed allegro (ie c:\allegro\
or whatever)and type "make install" without the quotes. This should
compile allegro and also copy the liballeg.a (the allegro library file)
to djgpp\lib and the file allegro.h to djgpp\include.
After that if you are compiling a program from the dos prompt say
demo.c the command would be gcc demo.c -o demo.exe -lalleg
The -lalleg tells to link with the allegro library.
In RHIDE the easiest way is to goto the linker options section from
the options menu and type "-lalleg" without the quotes in to the
dialog box and you are ready to go.
I suspect that this no such file found error is due to the fact that
you haven't compiled allegro.
Hope This Helps,
Grendel
- Raw text -