delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/09/18:26:22

From: "Kalum Somaratna aka Grendel" <kalum AT newmail DOT net>
To: djgpp AT delorie DOT com
Date: Mon, 10 Jan 2000 05:25:39 +0600
MIME-Version: 1.0
Subject: Re: where is alleg?
In-reply-to: <3878D98E.DDD03E86@clix.pt>
X-mailer: Pegasus Mail for Win32 (v3.12)
Message-ID: <94749672201@out.newmail.net>
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019