www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/10/06:30:40

From: "Daniel Willis" <willisd AT melbpc DOT org DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Need help with Allegro
Date: Fri, 8 Jan 1999 13:02:56 +1100
Organization: Melbourne PC User's Group
Lines: 25
Message-ID: <77a1go$5l5$1@possum.melbpc.org.au>
References: <003401be3a7c$a50b75e0$add80ad0 AT default>
NNTP-Posting-Host: b1-30.melbpc.org.au
X-Newsreader: Microsoft Outlook Express 4.72.3115.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Steve,

First make sure you have allegro set up properly - i.e. you have run make on
it, and there is a file called "liballeg.a" under the djgpp/lib directory.
You will also need to include the standard-c (or is it c++?) library, which
needs "libstdcx.a". When compiling the program using allegro use:

gcc <sourcefiles and options> -lalleg -lstdcx

which includes the allegro and standard-c libraries. Works for me.
Good luck,
Daniel.

P.S: Try to post messages in plain text next time, some people's newreaders
may not be able to read HTML.
    Steve Axsom wrote in message <003401be3a7c$a50b75e0$add80ad0 AT default>...
        Whenever I run some programs-I think the ones using allegro-it
always says an "undefined reference to" error message. Ive read the allegro
docs some, though not thouroughly. It said I need to add alleg to
options->library, which I did. also, some programs say "stdcx: no such file
or directory". Plz help asap.

                                                            -Shane


- Raw text -


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