delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/28/05:09:44

Message-ID: <ww03-BDbiby2870@netaddress.usa.net>
Date: Mon, 28 Apr 1997 02:27:24
From: "Guan Foo Wah" <jgfw AT usa DOT net>
To: djgpp AT delorie DOT com
Subject: Compiling Allegro 2.2 with Mikmod
Mime-Version: 1.0

      Mikalleg with Allegro 2.2 is not available yet on the internet 
but you can do one by yourself. Thanks to Shawn Hargreaves, I manage to 
make one by myself. If you have noticed, there is a SAMPLE structure in 
ALLEGRO and MIKMOD. If you include ALLEGRO.H and MIKMOD.H in to your 
source code, you you get an compiling error. You need to modify one of the 
SAMPLE structure to another name. 

      First, you need to have allegro 2.2 and mikmod. Unzip both if 
you haven't. Change all the SAMPLE structures to ASAMPLE (or to any other 
name if you don't like this) in ALLEGRO.H or MIKMOD.H. Add "#define 
SAMPLE ASAMPLE" to that file. Then compile both. After compiling, delete the 
line "#define SAMPLE ASAMPLE" from that file. By now, you should have 
mikalleg with allegro 2.2.

     If there is any problems, I can be reached at jgfw AT usa DOT net





- Raw text -


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