www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/01/21:57:32

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP! allegro errors :(
Date: Tue, 01 Apr 1997 07:22:52 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 46
Message-ID: <3341284C.6907@cs.com>
References: <Pine DOT LNX DOT 3 DOT 95 DOT 970401151802 DOT 7521A-100000 AT carhart DOT com>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp203.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Allan Carhart wrote:
> 
> If anybody out there can give me a hand, I'd really appreciate it.
> I posted a while back about graphics programming with djgpp, and was
> referred to allegro. Thank you all for the reference.
> I've attempted to compile allegro, and get error after error.

There should not be any problems with Allegro out of the box.  Just make
sure you've followed the instructions properly:

1) Unzip Allegro to a different directory than your main djgpp
directory.  For example, I unzipped my copy in D:\DJGPP\CONTRIB\ALLEGRO.
2) Make sure that you preserve directory structure when you unzip! 
Allegro is no different in this regard than any other djgpp program.
3) Make sure that you have the latest version of Allegro.  There was an
obscure assembly language bug in an earlier distribution (2.1) that got
caught by the new djgpp assembler.  The current version (2.2) is
available from Shawn Hargreaves' home page.
4) Some parts of Allegro require the C++ compiler as well as the C
compiler.  You can either comment out the relevant parts of the
makefile, or get the C++ compiler ('v2gnu/gpp2721b.zip' and
'v2gnu/lgp271b.zip).
5) Switch to the main Allegro directory, and type "make".  That's all
there is to it.

If you have any problems with this, then make sure you have set up your
system environment correctly as indicated in the 'readme.1st' file.  To
test, try compiling a sample program of your own.  If you're still
having problems, then please post a complete system report as outlined
in chapter 6.12 of the djgpp FAQ ('v2/faq210b.zip'), or at the very
least post a capture of the errors you get when you compile.

Oh, and Allegro requires that you have installed GNU Make
('v2gnu/mak375b.zip'), of course.

You should never have to modify any part of the Allegro source to get it
to work.  If even after this you are completely stymied, then email me
and I'll mail you the compiled library and header files.

-- 
---------------------------------------------------------------------
| 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