delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/10/19/22:16:03

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rod Pemberton <donthave AT noreply DOT bit>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help with allegro examples...
Date: Thu, 20 Oct 2005 02:03:38 +0000 (UTC)
Organization: cyberjustice.org
Lines: 56
Message-ID: <dj6ttq$3mb$1@sadr.dfn.de>
References: <1129724712 DOT 380267 DOT 311400 AT f14g2000cwb DOT googlegroups DOT com>
NNTP-Posting-Host: 66.28.207.11
Mime-Version: 1.0
X-Trace: sadr.dfn.de 1129773818 3787 66.28.207.11 (20 Oct 2005 02:03:38 GMT)
X-Complaints-To: usenet AT sadr DOT dfn DOT de
NNTP-Posting-Date: Thu, 20 Oct 2005 02:03:38 +0000 (UTC)
X-User-Real-E-Mail: nobody AT no DOT where DOT com
User-Agent: http://www.cyberjustice.org
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> I have tried compiling the allegro ex*.c files with gcc, but I get
> loads of errors...

Which version of DJGPP?  Which version of allegro: 4.03 or 4.20?
Everything compiles for 4.03, but little does for 4.20...

> I have put most of the allegro libraries in d:\djgpp\include\
> but I still can't get it working...

My experience is that Allegro, after the build, places the
resulting files, i.e., libraries and includes, correctly into DJGPP.

You may want to read allegro\docs\build\djgpp.txt

Basically, unzip, with directories, Allegro into d:\djgpp
 (Allegro files will then be in d:\djgpp\allegro)
Winzip should do this fine.

If you are doing this from DOS, I recommend using a .tar.gz version
of Allegro instead of a .zip.  You'll need Henrik Haftmann's DOSLFN
driver.

Like so:

CD D:\DJGPP
doslfn
gzip -d allegro-4.0.3.tar.gz
djtar -xvf allegro-4.0.3.tar


Then do these:

CD D:\DJGPP
CD ALLEGRO
FIX DJGPP
MAKE
MAKE INSTALL


> I would be grateful if anyone can point me in the right direction
> Thanks in Advance...


My personal experience with graphics libraries for DOS is that, at
most, half the Allegro ex*.exe examples work for my video card.
Almost none of the GRX demo's work and all DEPUI demo's work.
Other people seem to have much better luck with Allegro than I.
Allegro never seems to like my choice of video cards.



Rod Pemberton

--
Posted via: http://www.cyberjustice.org

- Raw text -


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