www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/15/16:53:47

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP!!!
Date: Sat, 15 Feb 1997 13:24:44 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 17
Message-ID: <3306299C.3B59@cs.com>
References: <3305E441 DOT 223A AT cs DOT umu DOT se>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp222.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Henrik Magnusson wrote:
> 
> HEllo I´m a beginner in the DJGPP-world and can´t get my allegro routines to work
> I keep getting the error message: undefined reference to 'allegro_init'

You have to link the Allegro library when you compile your programs. 
Add '-lalleg' to the END of the gcc command line, or if you are using
RHIDE, add "alleg" to the list of libraries to link in
Options|Libraries.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| "Starting flamewars since 1993"  |   http://www.cs.com/fighteer   |
|  *** NOTICE ***  This .signature is generated randomly.           |
|                  If you don't like it, sue my computer.           |
---------------------------------------------------------------------

- Raw text -


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