From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with Allegro game library Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <8pc6ng$4pk$1 AT news DOT ihug DOT co DOT nz> <8pdrsh$t08$1 AT news DOT clinet DOT fi> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 54 X-Trace: +4awYTPmxfAZOMbIDSaF24vaIK6orwld4naUQn/u6thyR/FzWyXDmZbwt8GOZmBVnlcpf0/pVDOL!ZCfE6hJS08qw5XTz4Xtpgt2qaIRsVdSLIMhRLeS/aKS5me/7DuPktcrjXZ7c2gQ9cVT0CDoCdnQe!DZWfiLQ= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sat, 09 Sep 2000 18:33:45 GMT Distribution: world Date: Sat, 09 Sep 2000 18:33:46 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 9 Sep 2000 17:57:51 +0300, "Tony" wrote: >K Donovan kirjoitti >viestissä:8pc6ng$4pk$1 AT news DOT ihug DOT co DOT nz... >> gcc map.c -o map.exe -lalleg >> When I (try to) compile with allegro (using DJGPP) I get the message ' >> c:/djgpp/bin/ld.exe: cannot find -lalleg' >> What does that mean how can I fix it? > >U understand English? >Compiler doesn't find liballeg.a But that's not how to _fix_ it. To OP: First build and install Allegro as described in readme.dj C:\...\ALLEGRO>fixdjgpp Converting source to DJGPP format... C:\...\ALLEGRO>make Compiling Allegro for DJGPP, optimized... [wait an hour or so] C:\...\ALLEGRO>make install Now test your Allegro installation by trying to build /* allegro-hello.c by Damian Yerrick */ #include int main(void) { allegro_init(); install_timer(); install_keyboard(); if(set_gfx_mode(GFX_AUTODETECT, 320, 200, 0, 0) < 0) return 1; alert("Hello world", "", "", "OK", 0, 13, 0); return 0; } C:\...>gcc -Wall -O allegro-hello.c -lalleg -o allegro-hello.exe If you have any problems building allegro-hello.c, write back. -- MS (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease, multiple sclerosis (see). This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/