delorie.com/archives/browse.cgi | search |
From: | "Dan Gold" <axis AT home DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <3963A92B DOT 99B411E8 AT home DOT com> |
Subject: | Re: help using allegro |
Lines: | 26 |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
Message-ID: | <nFP85.21254$Zq.617782@news1.gvcl1.bc.home.com> |
Date: | Wed, 05 Jul 2000 23:37:55 GMT |
NNTP-Posting-Host: | 24.69.106.204 |
X-Complaints-To: | abuse AT home DOT net |
X-Trace: | news1.gvcl1.bc.home.com 962840275 24.69.106.204 (Wed, 05 Jul 2000 16:37:55 PDT) |
NNTP-Posting-Date: | Wed, 05 Jul 2000 16:37:55 PDT |
Organization: | @Home Network Canada |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |