delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/04/11:45:06

From: "Matthew Smith" <matt AT the-good-stuff DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: a little help here...
Date: Sat, 4 Aug 2001 16:52:52 +0100
Lines: 54
Message-ID: <9kh59j$b6o$1@news6.svr.pol.co.uk>
References: <HcMa7.41910$Gj5 DOT 18441524 AT typhoon DOT san DOT rr DOT com>
NNTP-Posting-Host: modem-173.babbelas.dialup.pol.co.uk
X-Trace: news6.svr.pol.co.uk 996939891 11480 62.25.132.173 (4 Aug 2001 15:44:51 GMT)
NNTP-Posting-Date: 4 Aug 2001 15:44:51 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Jeff" <monolith AT san DOT rr DOT com> wrote in message
news:HcMa7.41910$Gj5 DOT 18441524 AT typhoon DOT san DOT rr DOT com...
> When I write a program that uses the Allegro library, I can get it
to
> compile fine [Alt-F9], but when I try to make [F9] and run the
program, it
> gives me the error: "undefined reference to 'allegro_init'" (and
other such
> Allegro functions).  I'm not sure what to try to fix the problem.
> (and I'm using RHIDE if that's an important detail)
>
> Thanks.
>
>  - Jeff
>
>

I just answered this one on allegro.cc
oh well here it is again

In the Options menu is a Libraries option

This opens a dialog which looks like this


----------------------------------------------------------------------
----------

[_]--------- Libraries -------------
 [ ] 0
 [ ] 1
 [ ] 2
...
 [ ] F
[X] Use standard libraries
[ ] link for profiling
 OK     _

--------------------------------------------------------------------


and all you need to add Allegro is this line

 ____________________________________
 [_]--------- Libraries -------------
 [X] 0 alleg


-------------------------------------------------------------------




- Raw text -


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