www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/05/19:38:11

Message-ID: <000e01bec73e$73aefc20$cc6a4518@gvcl1.bc.wave.home.com>
From: "Dan Gold" <axis AT home DOT com>
To: <djgpp AT delorie DOT com>
Subject: Re: help using allegro
X-Mailer: Microsoft Outlook Express 5.00.2615.200
Date: Mon, 5 Jul 1999 16:31:00 -0700
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Reply-To: djgpp AT delorie DOT com

Keir, what is happening is that you have included the allegro header, but
you havn't linked to the library.  If you are using Rhide goto
Options->Libraries and type in alleg which stands for liballeg, but the lib
part need not be specified.  Make sure you click the check next to the name.

That should make everything work.  If you are using the command line to
compile, I havn't used it in a long time, but I think its ike -l alleg  at
the end.

From Dan Gold

Keir <keir AT home DOT com> wrote in message news:3963A92B DOT 99B411E8 AT home DOT com...
> when i try to compile a program and try to use some of the allegro
> functions
> I always get
>
> undefined reference to allegro_init
> and so on for all allegro functions
>
> I am using rhide and I did include the alleg under options/libraries
> with the box checked
> what do I need to do???
>
> keir



- Raw text -


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