delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/25/12:19:06

From: "Nirvana" <nir_vana AT libero DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: [NEWBYE][ALLEGRO][RHIDE] i try to run this.....
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <Z22s7.7930$jT5.319789@news.infostrada.it>
Date: Tue, 25 Sep 2001 16:13:45 GMT
NNTP-Posting-Host: 151.21.109.106
X-Complaints-To: abuse AT libero DOT it
X-Trace: news.infostrada.it 1001434425 151.21.109.106 (Tue, 25 Sep 2001 18:13:45 MET DST)
NNTP-Posting-Date: Tue, 25 Sep 2001 18:13:45 MET DST
Organization: [Infostrada]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Note that the following code is an example coming with the libamp library

#include <allegro.h>
#include <libamp.h>

int main(void)
{
 allegro_init();
 install_sound(DIGI_AUTODETECT,MIDI_NONE,NULL);
 install_amp();
 load_amp("1.mp3",FALSE);
 while (run_amp()>=0);
 unload_amp();
 return(0);
}

and i get "undefined reference...." for every call to any allegro functions,
what i have to set, where and how i can set it?
Note that i'm a newbye with djgpp, rhide, allegro and  both c and c++ but i
have a sufficient programming culture on some other languages such pascal,
delphi and visualbasic.
Note that libamp should function as well, i think that the problem is the
link with allegro library


- Raw text -


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